Include config/buildSrc/build.gradle
in your projects buildSrc/build.gradle
apply from: '../config/buildSrc/build.gradle'
CheckGradleFilesForSnapshotDependencies
task that will parse all*.gradle
files for bulidscript classpath dependencies and project compile dependencies for pre release versions (identified by-
in the version, following semver.org)
import com.rakuten.tech.tool.CheckGradleFilesForSnapshotDependencies
task preReleaseCheck(type: CheckGradleFilesForSnapshotDependencies) {
exclude = [
~/.*\/config\/.*\.gradle/,
~/.*\/buildSrc\/.*\.gradle/,
~/.*\/TestUI\/.*\.gradle/,
]
}