Remove --enable-preview from gradle compile task.

This commit is contained in:
Kavin 2023-06-01 19:44:25 +01:00
parent e0dc4f8784
commit 52ab96a4e9
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

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