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:
parent
62b0d0a560
commit
c861a5eb73
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue