Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 758 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 758 Bytes

BuildSrc

Include config/buildSrc/build.gradle in your projects buildSrc/build.gradle

apply from: '../config/buildSrc/build.gradle'

What's provided

  • 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)

Example

import com.rakuten.tech.tool.CheckGradleFilesForSnapshotDependencies
task preReleaseCheck(type: CheckGradleFilesForSnapshotDependencies) {
     exclude = [
             ~/.*\/config\/.*\.gradle/,
             ~/.*\/buildSrc\/.*\.gradle/,
             ~/.*\/TestUI\/.*\.gradle/,
             ]
}