diff options
author | Rahul Ravikumar <rahulrav@google.com> | 2018-12-10 11:18:16 -0800 |
---|---|---|
committer | Rahul Ravikumar <rahulrav@google.com> | 2018-12-10 11:18:16 -0800 |
commit | 952e67ac7e8b715c38e5be5bc4a2315b395beff3 (patch) | |
tree | facde043493867c18b7da1bf941f6c73eb2a71e2 /development | |
parent | 815b690fa653f68f837e148fe1ef1bad40cd734a (diff) | |
download | support-952e67ac7e8b715c38e5be5bc4a2315b395beff3.tar.gz |
Update README and speed up import_maven_artifacts.
* Removed redundant copy directives.
Test: Tested changes locally.
Change-Id: Idf9d101d251ad3a92d69186e454c01cd4c33db82
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 { |