Additional unit tests for the patcher + many bugfixes
This commit is contained in:
@@ -223,7 +223,7 @@ configure(project(":annotations")){
|
||||
}
|
||||
|
||||
//compile with java 8 compatibility for everything except the annotation project
|
||||
configure(subprojects - project(":annotations")){
|
||||
configure(subprojects - project(":annotations") - project(":tests")){
|
||||
tasks.withType(JavaCompile){
|
||||
options.compilerArgs.addAll(['--release', '8'])
|
||||
}
|
||||
@@ -400,6 +400,12 @@ project(":tests"){
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.7.1"
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile){
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
}
|
||||
|
||||
test{
|
||||
//fork every test so mods don't interact with each other
|
||||
forkEvery = 1
|
||||
|
||||
Reference in New Issue
Block a user