diff options
author | Sam Judd <judds@google.com> | 2014-07-05 16:48:24 -0700 |
---|---|---|
committer | Sam Judd <judds@google.com> | 2014-07-05 21:01:50 -0700 |
commit | 55fe76154dd6c5af83cd3557f37c0d6368f3c046 (patch) | |
tree | 3cdaf13c9c2e56718f10856ad1e35d623bf5b74f /library | |
parent | 86ea385b773a81e0f5c6b1bb677a752855e504e0 (diff) | |
download | glide-55fe76154dd6c5af83cd3557f37c0d6368f3c046.tar.gz |
Cleanup build and depend on local upload script.
Diffstat (limited to 'library')
-rw-r--r-- | library/build.gradle | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/build.gradle b/library/build.gradle index bd60c4ba..a22f85d2 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -37,16 +37,15 @@ android { } } -apply from: "https://raw.githubusercontent.com/mcxiaoke/gradle-mvn-push/master/gradle-mvn-push.gradle" +apply from: "$rootProject.projectDir/scripts/upload.gradle" // All dependencies are written to the pom file with the default type (.jar). Since we're uploading the gif decoder // as an aar we need to change the type in the pom file to match or maven/gradle wont' be able to find the transitive // dependency. afterEvaluate { - def installer = install.repositories.mavenInstaller def deployer = uploadArchives.repositories.mavenDeployer - [installer, deployer]*.pom*.whenConfigured { pom -> + [deployer]*.pom*.whenConfigured { pom -> pom.dependencies.find { dep -> dep.groupId == 'com.github.bumptech.glide' && dep.artifactId == 'glide-gif-decoder' }.type = "aar" |