Check for @NullMarked on packages

Projects which don't have JSpecify nullability annotations can opt out
by using

architectureCheck {
	nullMarked = false
}

in their build.gradle script.

See gh-46587
This commit is contained in:
Moritz Halbritter
2025-08-13 13:27:48 +02:00
parent 1a1ad23d60
commit c211b88594
16 changed files with 167 additions and 5 deletions
@@ -30,6 +30,10 @@ sourceSets {
}
}
architectureCheck {
nullMarked = false
}
dependencies {
testCompileOnly("com.google.code.findbugs:jsr305:3.0.2")