diff --git a/build.gradle b/build.gradle index 73afa976c..d13d5ece9 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,9 @@ plugins { id 'java-library' } +sourceCompatibility = 1.8 +targetCompatibility = 1.8 + repositories { // Use jcenter for resolving dependencies. // You can declare any Maven/Ivy/file repository here. @@ -31,7 +34,7 @@ dependencies { // This dependency is used internally, and not exposed to consumers on their own compile classpath. implementation 'com.google.guava:guava:28.2-jre' - + // Use JUnit test framework testImplementation platform('org.junit:junit-bom:5.7.2') @@ -48,7 +51,7 @@ task serverJar (type: Jar, dependsOn: subprojects.tasks['build']) { manifest { attributes 'Main-Class': 'io.eiren.vr.Main' } - + // Pack all dependencies within the JAR from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }