We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162d821 commit 13cf758Copy full SHA for 13cf758
build.gradle
@@ -95,20 +95,14 @@ sourceSets {
95
}
96
97
98
-// We can't use toolchains because we need --add-export
99
-//java.toolchain.languageVersion = JavaLanguageVersion.of(16)
100
compileJava {
101
- sourceCompatibility = JavaVersion.VERSION_16
102
- targetCompatibility = JavaVersion.VERSION_16
103
options.compilerArgs += [
104
'-Xlint:unchecked',
105
'--add-exports=java.base/sun.security.util=cpw.mods.securejarhandler',
106
]
107
108
109
compileTestJava {
110
111
112
113
'--add-modules=jdk.zipfs',
114
'--add-exports=jdk.zipfs/jdk.nio.zipfs=cpw.mods.securejarhandler'
0 commit comments