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
This commit is contained in:
Collin Smith 2021-11-30 16:32:30 -08:00
parent dbb0866985
commit c8f14134ac
2 changed files with 2 additions and 6 deletions

View File

@ -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
}

View File

@ -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'