Merge pull request #608 from TeamPiped/remove-preview

Remove --enable-preview from gradle compile task.
This commit is contained in:
Kavin 2023-06-01 19:45:45 +01:00 committed by GitHub
commit f187aa5a85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,10 +56,6 @@ jar {
} }
} }
tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}
group = 'me.kavin.piped' group = 'me.kavin.piped'
version = '1.0' version = '1.0'
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_17