Skip to content

Commit 5ccf300

Browse files
authored
Update build.gradle to avoid rewriteing pices of code
1 parent bf0aad5 commit 5ccf300

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ processResources {
4040
expand "version": project.version
4141
}
4242
}
43-
43+
compileJava {
44+
options.compilerArgs += ['--enable-preview']
45+
}
4446
tasks.withType(JavaCompile).configureEach {
4547
it.options.release = 17
4648
}

0 commit comments

Comments
 (0)