From c8f14134ac629894adaa05f716ca794cb9782aca Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 30 Nov 2021 16:32:30 -0800 Subject: [PATCH] Changed Java source/target compatibility to Java 8 Changed Java source/target compatibility to Java 8 Removed special :core:compileTestJava Java 8 support to use default above --- build.gradle | 3 ++- core/build.gradle | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) 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'