Skip to content

Commit 844a9ca

Browse files
committed
Remove deprecated updateDependencies task
1 parent 716461f commit 844a9ca

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
command: |
3636
git submodule sync --recursive
3737
git submodule update --recursive --init
38-
- run:
39-
name: Update external dependencies
40-
command: ./gradlew --stacktrace updateDependencies
4138
- run:
4239
name: Generate artifacts
4340
command: ./gradlew --stacktrace publish

build.gradle.kts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,7 @@ val bintrayKey: String? = System.getenv("BINTRAY_KEY")
5454
val sonatypeUser: String? = System.getenv("SONATYPE_USER")
5555
val sonatypePassword: String? = System.getenv("SONATYPE_PASSWORD")
5656

57-
// set up external ant dependencies
58-
val updateDependencies by tasks.creating
59-
kotlinDir.resolve("update_dependencies.xml").let { dependenciesFile ->
60-
if (dependenciesFile.exists()) {
61-
ant.importBuild(dependenciesFile)
62-
updateDependencies.dependsOn(ant.project.defaultTarget)
63-
}
64-
else {
65-
updateDependencies.doFirst { error("Dependencies file not found: '$dependenciesFile'") }
66-
}
67-
}
68-
6957
// execute inner build
70-
7158
val publish by tasks.creating(GradleBuild::class) {
7259
dir = kotlinDir
7360
startParameter.apply {
@@ -138,7 +125,7 @@ val upload by tasks.creating {
138125
dependsOn("bintrayUpload")
139126
}
140127

141-
defaultTasks(updateDependencies, publish)
128+
defaultTasks(publish)
142129

143130
//region utils
144131
fun propertyOrElse(defaultValue: Boolean) =

0 commit comments

Comments
 (0)