Skip to content

Commit cc28085

Browse files
committed
trying to get jitpack to build artifact
1 parent dfb2081 commit cc28085

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

library/build.gradle

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ archivesBaseName = 'android-maps-utils'
66
group = 'com.google.maps.android'
77

88
dependencies {
9-
compile 'com.google.android.gms:play-services-maps:9.6.1'
9+
compile 'com.google.android.gms:play-services-maps:10.2.0'
1010
}
1111

1212
android {
1313
compileSdkVersion 25
1414

15-
buildToolsVersion "25.0.1"
15+
buildToolsVersion "25.0.3"
1616

1717
resourcePrefix 'amu_'
1818

@@ -64,9 +64,9 @@ task sourcesJar(type: Jar) {
6464
classifier = 'sources'
6565
}
6666

67-
signing {
68-
sign configurations.archives
69-
}
67+
//signing {
68+
// sign configurations.archives
69+
//}
7070

7171
if (!hasProperty("sonatypeUsername")) {
7272
sonatypeUsername = ""
@@ -75,34 +75,34 @@ if (!hasProperty("sonatypePassword")) {
7575
sonatypePassword = ""
7676
}
7777

78-
uploadArchives {
79-
repositories {
80-
mavenDeployer {
81-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
82-
83-
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2') {
84-
authentication(userName: sonatypeUsername, password: sonatypePassword)
85-
}
86-
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') {
87-
authentication(userName: sonatypeUsername, password: sonatypePassword)
88-
}
89-
90-
modifyPom(addFilter('aar') { artifact, file ->
91-
artifact.name == 'android-maps-utils'
92-
})
93-
94-
modifyPom(addFilter('apklib') { artifact, file ->
95-
artifact.name == 'android-maps-utils-apklib'
96-
})
97-
98-
// There's no official apklib for Google Play services, so we
99-
// can't really maintain that dependency for the apklib packaging.
100-
pom('apklib').whenConfigured { pom ->
101-
pom.dependencies = []
102-
}
103-
}
104-
}
105-
}
78+
//uploadArchives {
79+
// repositories {
80+
// mavenDeployer {
81+
// beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
82+
//
83+
// repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2') {
84+
// authentication(userName: sonatypeUsername, password: sonatypePassword)
85+
// }
86+
// snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') {
87+
// authentication(userName: sonatypeUsername, password: sonatypePassword)
88+
// }
89+
//
90+
// modifyPom(addFilter('aar') { artifact, file ->
91+
// artifact.name == 'android-maps-utils'
92+
// })
93+
//
94+
// modifyPom(addFilter('apklib') { artifact, file ->
95+
// artifact.name == 'android-maps-utils-apklib'
96+
// })
97+
//
98+
// // There's no official apklib for Google Play services, so we
99+
// // can't really maintain that dependency for the apklib packaging.
100+
// pom('apklib').whenConfigured { pom ->
101+
// pom.dependencies = []
102+
// }
103+
// }
104+
// }
105+
//}
106106

107107
def modifyPom(pom) {
108108
pom.project {

0 commit comments

Comments
 (0)