Skip to content

Commit 13cf758

Browse files
authored
Remove outdated compile args for J21 target (#73)
1 parent 162d821 commit 13cf758

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,14 @@ sourceSets {
9595
}
9696
}
9797

98-
// We can't use toolchains because we need --add-export
99-
//java.toolchain.languageVersion = JavaLanguageVersion.of(16)
10098
compileJava {
101-
sourceCompatibility = JavaVersion.VERSION_16
102-
targetCompatibility = JavaVersion.VERSION_16
10399
options.compilerArgs += [
104100
'-Xlint:unchecked',
105101
'--add-exports=java.base/sun.security.util=cpw.mods.securejarhandler',
106102
]
107103
}
108104

109105
compileTestJava {
110-
sourceCompatibility = JavaVersion.VERSION_16
111-
targetCompatibility = JavaVersion.VERSION_16
112106
options.compilerArgs += [
113107
'--add-modules=jdk.zipfs',
114108
'--add-exports=jdk.zipfs/jdk.nio.zipfs=cpw.mods.securejarhandler'

0 commit comments

Comments
 (0)