mirror of https://github.com/apache/lucene.git
Add workaround for https://github.com/palantir/gradle-consistent-versions/issues/383
This commit is contained in:
parent
ae2e4f3ae9
commit
44c203d72f
|
@ -17,6 +17,12 @@ ext {
|
||||||
buildDate = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(tstamp)
|
buildDate = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(tstamp)
|
||||||
buildTime = DateTimeFormatter.ofPattern("HH:mm:ss").format(tstamp)
|
buildTime = DateTimeFormatter.ofPattern("HH:mm:ss").format(tstamp)
|
||||||
buildYear = DateTimeFormatter.ofPattern("yyyy").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.
|
// Include smaller chunks configuring dedicated build areas.
|
||||||
|
|
|
@ -25,7 +25,7 @@ configure(rootProject) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
ratDeps "org.apache.rat:apache-rat"
|
ratDeps "org.apache.rat:apache-rat:${scriptDepVersions['apache-rat']}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ configure(rootProject) {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
checkSourceDeps "org.codehaus.groovy:groovy-all:2.4.17"
|
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() {
|
task validateSourcePatterns() {
|
||||||
|
|
|
@ -72,7 +72,6 @@ org.apache.opennlp:opennlp-tools=1.9.1
|
||||||
org.apache.pdfbox:*=2.0.17
|
org.apache.pdfbox:*=2.0.17
|
||||||
org.apache.pdfbox:jempbox=1.8.16
|
org.apache.pdfbox:jempbox=1.8.16
|
||||||
org.apache.poi:*=4.1.1
|
org.apache.poi:*=4.1.1
|
||||||
org.apache.rat:apache-rat:0.11
|
|
||||||
org.apache.tika:*=1.23
|
org.apache.tika:*=1.23
|
||||||
org.apache.velocity.tools:*=3.0
|
org.apache.velocity.tools:*=3.0
|
||||||
org.apache.xmlbeans:xmlbeans=3.1.0
|
org.apache.xmlbeans:xmlbeans=3.1.0
|
||||||
|
|
Loading…
Reference in New Issue