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.IndraPlugin
import net.kyori.indra.IndraPublishingPlugin import net.kyori.indra.IndraPublishingPlugin
import net.kyori.indra.repository.sonatypeSnapshots import net.kyori.indra.repository.sonatypeSnapshots
import org.checkerframework.gradle.plugin.CheckerFrameworkExtension
import org.checkerframework.gradle.plugin.CheckerFrameworkPlugin
plugins { plugins {
id("net.kyori.indra") id("net.kyori.indra")
@@ -23,7 +21,6 @@ subprojects {
apply<IndraPlugin>() apply<IndraPlugin>()
apply<IndraCheckstylePlugin>() apply<IndraCheckstylePlugin>()
apply<IndraPublishingPlugin>() apply<IndraPublishingPlugin>()
apply<CheckerFrameworkPlugin>()
if (projectVersion.endsWith("-SNAPSHOT")) { if (projectVersion.endsWith("-SNAPSHOT")) {
// Add git commit hash to version for platforms, but not for API // Add git commit hash to version for platforms, but not for API
@@ -61,12 +58,6 @@ subprojects {
disableAutoTargetJvm() disableAutoTargetJvm()
} }
configure<CheckerFrameworkExtension> {
checkers = listOf(
"org.checkerframework.checker.nullness.NullnessChecker"
)
}
indra { indra {
gpl3OnlyLicense() gpl3OnlyLicense()
@@ -83,14 +74,4 @@ tasks {
withType<Jar> { withType<Jar> {
onlyIf { false } 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
} }