Skip to content

Commit 94979ab

Browse files
jbaierabreskeby
andauthored
Fix buildSrc classpath after build-tools refactoring (#1705) (#1715)
We need to bring in apache ant-rant and commons-codec as direct dependencies as they are not transitive dependencies of build-tools anymore Co-authored-by: Rene Groeschke <rene@elastic.co>
1 parent 893db9e commit 94979ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

buildSrc/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ dependencies {
6868
compileOnly gradleApi()
6969
compileOnly localGroovy()
7070

71+
// Required for dependency licenses task
72+
implementation 'org.apache.rat:apache-rat:0.11'
73+
implementation 'commons-codec:commons-codec:1.12'
74+
7175
if (localRepo) {
7276
implementation name: "build-tools-${buildToolsVersion}"
73-
// Required for dependency licenses task (explicitly added in case of localRepo missing transitive dependencies)
74-
implementation group: 'commons-codec', name: 'commons-codec', version: '1.12'
75-
implementation group: 'org.apache.rat', name: 'apache-rat', version: '0.11'
7677
} else {
7778
implementation group: 'org.elasticsearch.gradle', name: 'build-tools', version: buildToolsVersion
7879
}

0 commit comments

Comments
 (0)