diff --git a/build.gradle b/build.gradle index c1e2ff0a..8da9449b 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,8 @@ allprojects { configure(subprojects - project(':android')) { apply plugin: 'java-library' - sourceCompatibility = 7.0 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 compileJava { options.incremental = true } diff --git a/core/build.gradle b/core/build.gradle index dee4a47f..ceada6bf 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -102,11 +102,6 @@ dependencies { //api "net.mostlyoriginal.artemis-odb:contrib-plugin-singleton:$artemisContribVersion" } -compileTestJava { - sourceCompatibility = "1.8" - targetCompatibility = "1.8" -} - dependencies { testImplementation platform('org.junit:junit-bom:5.7.1') testImplementation 'org.junit.jupiter:junit-jupiter'