fuck checker AP

This commit is contained in:
Draycia committed 2021-05-12 13:21:59 -07:00
1 parent aec22f12c9
commit 7479fdf1fc
1 file changed
-19
-19
View File
@@ -2,8 +2,6 @@ import net.kyori.indra.IndraCheckstylePlugin
import net.kyori.indra.IndraPlugin
import net.kyori.indra.IndraPublishingPlugin
import net.kyori.indra.repository.sonatypeSnapshots
import org.checkerframework.gradle.plugin.CheckerFrameworkExtension
import org.checkerframework.gradle.plugin.CheckerFrameworkPlugin
plugins {
id("net.kyori.indra")
@@ -23,7 +21,6 @@ subprojects {
apply<IndraPlugin>()
apply<IndraCheckstylePlugin>()
apply<IndraPublishingPlugin>()
apply<CheckerFrameworkPlugin>()
if (projectVersion.endsWith("-SNAPSHOT")) {
// Add git commit hash to version for platforms, but not for API
@@ -61,12 +58,6 @@ subprojects {
disableAutoTargetJvm()
}
configure<CheckerFrameworkExtension> {
checkers = listOf(
"org.checkerframework.checker.nullness.NullnessChecker"
)
}
indra {
gpl3OnlyLicense()
@@ -83,14 +74,4 @@ tasks {
withType<Jar> {
onlyIf { false }
}
withType<JavaCompile> {
options.forkOptions.jvmArgs = listOf("--illegal-access=permit")
options.isFork = true
}
}
tasks.named<JavaCompile>("compileJava") {
options.forkOptions.jvmArgs = listOf("--illegal-access=permit")
options.isFork = true
}