Dawid Weiss 2020-01-15 11:44:21 +01:00
parent ae2e4f3ae9
commit 44c203d72f
4 changed files with 8 additions and 3 deletions

View File

@ -17,6 +17,12 @@ ext {
buildDate = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(tstamp)
buildTime = DateTimeFormatter.ofPattern("HH:mm:ss").format(tstamp)
buildYear = DateTimeFormatter.ofPattern("yyyy").format(tstamp)
// Workaround for this one, for now:
// https://github.com/palantir/gradle-consistent-versions/issues/383
scriptDepVersions = [
"apache-rat": "0.11"
]
}
// Include smaller chunks configuring dedicated build areas.

View File

@ -25,7 +25,7 @@ configure(rootProject) {
}
dependencies {
ratDeps "org.apache.rat:apache-rat"
ratDeps "org.apache.rat:apache-rat:${scriptDepVersions['apache-rat']}"
}
}

View File

@ -10,7 +10,7 @@ configure(rootProject) {
dependencies {
checkSourceDeps "org.codehaus.groovy:groovy-all:2.4.17"
checkSourceDeps "org.apache.rat:apache-rat"
checkSourceDeps "org.apache.rat:apache-rat:${scriptDepVersions['apache-rat']}"
}
task validateSourcePatterns() {

View File

@ -72,7 +72,6 @@ org.apache.opennlp:opennlp-tools=1.9.1
org.apache.pdfbox:*=2.0.17
org.apache.pdfbox:jempbox=1.8.16
org.apache.poi:*=4.1.1
org.apache.rat:apache-rat:0.11
org.apache.tika:*=1.23
org.apache.velocity.tools:*=3.0
org.apache.xmlbeans:xmlbeans=3.1.0