Also exclude Jakarta Data tests from Java 17+ runs
This commit is contained in:
parent
94cb793180
commit
7713a074af
|
@ -45,6 +45,13 @@ compileTestJava {
|
|||
]
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
test {
|
||||
java {
|
||||
exclude '**/data/*.java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tests with records
|
||||
if ( jdkVersions.test.release.asInt() >= 17 && jdkVersions.explicit ) {
|
||||
|
@ -69,7 +76,6 @@ else {
|
|||
test {
|
||||
java {
|
||||
exclude '**/records/*.java'
|
||||
exclude '**/data/*.java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue