Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NullAway (0.03 sec)

  1. architecture/standards/0008-use-nullaway.md

    and there are no missing null checks.
    
    ## Decision
    
    Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
    
    Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test).
    
    Do not suppress NullAway errors without a justification.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    import gradlebuild.nullaway.NullawayAttributes
    import gradlebuild.nullaway.NullawayCompatibilityRule
    import gradlebuild.nullaway.NullawayState
    import gradlebuild.nullaway.NullawayStatusTask
    import groovy.lang.GroovySystem
    import net.ltgt.gradle.errorprone.CheckSeverity
    import net.ltgt.gradle.errorprone.errorprone
    import net.ltgt.gradle.nullaway.nullaway
    import org.gradle.util.internal.VersionNumber
    
    /*
     * Copyright 2022 the original author or authors.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt

        override fun execute(details: CompatibilityCheckDetails<NullawayState>) {
            with(details) {
                when {
                    // Nullaway-enabled targets must not depend on nullaway-disabled ones.
                    // They can depend on nullaway-undefined, which any external dependency is going to be.
                    producerValue == NullawayState.DISABLED && consumerValue == NullawayState.ENABLED -> incompatible()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 13:18:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

                val uncheckedCount = projectsWithUncheckedDeps.size
    
                if (enabledCount == seenProjectsCount) {
                    println("All have NullAway enabled.")
                } else {
                    println("NullAway enabled in ${enabledCount} ${projectS(enabledCount)}.")
    
                    if (projectsToEnableNullaway.isNotEmpty()) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 13:18:23 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusTask.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.nullaway
    
    import org.gradle.api.DefaultTask
    import org.gradle.api.artifacts.ArtifactCollection
    import org.gradle.api.artifacts.result.ResolvedArtifactResult
    import org.gradle.api.provider.Property
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 13:18:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/build.gradle.kts

        implementation(projects.basics)
        implementation(projects.moduleIdentity)
    
        implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0")
        implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
    
    
        implementation("org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:$expectedKotlinDslPluginsVersion")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 10:00:10 UTC 2025
    - 932 bytes
    - Viewed (0)
Back to top