diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/importMaven/README.md | 2 | ||||
-rw-r--r-- | development/importMaven/build.gradle.kts | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/development/importMaven/README.md b/development/importMaven/README.md index 4b35ff63131..d2a57e45c72 100644 --- a/development/importMaven/README.md +++ b/development/importMaven/README.md @@ -3,5 +3,5 @@ #### Using the script ```bash -./gradlew -PartifactName=android.arch.work:work-runtime-ktx:1.0.0-alpha07 +./import_maven_artifacts.py --name=android.arch.work:work-runtime-ktx:1.0.0-alpha07 ``` diff --git a/development/importMaven/build.gradle.kts b/development/importMaven/build.gradle.kts index ee51f38df56..f43c95578e7 100644 --- a/development/importMaven/build.gradle.kts +++ b/development/importMaven/build.gradle.kts @@ -252,7 +252,6 @@ fun digest(file: File, algorithm: String): File { val outputFile = File(parent, "${file.name}.${algorithm.toLowerCase()}") outputFile.deleteOnExit() outputFile.writeText(builder.toString()) - outputFile.deleteOnExit() return outputFile } @@ -283,9 +282,6 @@ fun copyArtifact(artifact: ResolvedArtifact, internal: Boolean = false) { ) into(location) } - copy { - into(location) - } // Copy supporting artifacts for (supportingArtifact in supportingArtifacts) { println("Copying $supportingArtifact to $location") @@ -330,9 +326,6 @@ fun copyPomFile( ) into(location) } - copy { - into(location) - } } tasks { |