com.github.joselion.strict-null-check
一个用于为您的 Java 代码添加完整 Strict Null Check 的 Gradle 插件
https://github.com/JoseLion/strict-null-check
源代码: https://github.com/JoseLion/strict-null-check.git
使用 plugins DSL
plugins {
id("com.github.joselion.strict-null-check") version "1.4.4"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.joselion:plugin:1.4.4")
}
}
apply(plugin = "com.github.joselion.strict-null-check")
使用 plugins DSL
plugins {
id "com.github.joselion.strict-null-check" version "1.4.4"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.joselion:plugin:1.4.4"
}
}
apply plugin: "com.github.joselion.strict-null-check"