1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-04-16 03:28:37 +02:00

Set Java release version to 8 to fix Kotlin desugaring

Fixes https://github.com/pgpainless/pgpainless/issues/471
This commit is contained in:
Paul Schaub 2025-03-20 17:31:30 +01:00
parent 62b0d0a560
commit c861a5eb73
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -41,6 +41,10 @@ allprojects {
options.release = 8
}
tasks.withType(JavaCompile).configureEach {
options.release = 8
}
// Only generate jar for submodules
// without this we would generate an empty pgpainless.jar for the project root
// https://stackoverflow.com/a/25445035