Skip to content

Commit 35562f9

Browse files
committed
Build cleanup
Disable uploadArchives gradle build step. Add required plugin to pom.xml to allow deploying aar files.
1 parent 65be5b4 commit 35562f9

File tree

2 files changed

+76
-61
lines changed

2 files changed

+76
-61
lines changed

library/build.gradle

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -33,67 +33,67 @@ android {
3333
// }
3434
//}
3535

36-
apply plugin: 'maven'
37-
apply plugin: 'signing'
38-
39-
version = "0.1.0"
40-
group = "com.firebase"
41-
42-
configurations {
43-
archives {
44-
extendsFrom configurations.default
45-
}
46-
}
47-
48-
signing {
49-
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
50-
sign configurations.archives
51-
}
52-
53-
uploadArchives {
54-
configuration = configurations.archives
55-
repositories.mavenDeployer {
56-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
57-
58-
repository(url: sonatypeRepo) {
59-
authentication(userName: sonatypeUsername,
60-
password: sonatypePassword)
61-
}
62-
63-
pom.project {
64-
name 'FirebaseUI'
65-
packaging 'aar'
66-
description 'FirebaseUI library for Android applications'
67-
url 'https://github.com/firebase/FirebaseUI-Android'
68-
69-
scm {
70-
url 'scm:[email protected]/firebase/FirebaseUI-Android'
71-
connection 'scm:git:[email protected]:firebase/FirebaseUI-Android.git'
72-
developerConnection 'scm:git:[email protected]:firebase/FirebaseUI-Android.git'
73-
}
74-
75-
organization {
76-
name 'Firebase'
77-
url 'https://www.firebase.com/'
78-
}
79-
80-
licenses {
81-
license {
82-
name 'MIT'
83-
url 'http://firebase.mit-license.org'
84-
}
85-
}
86-
87-
developers {
88-
developer {
89-
id 'puf'
90-
name 'Frank van Puffelen'
91-
92-
}
93-
}
94-
}
95-
}
96-
}
36+
//apply plugin: 'maven'
37+
//apply plugin: 'signing'
38+
//
39+
//version = "0.1.0"
40+
//group = "com.firebase"
41+
//
42+
//configurations {
43+
// archives {
44+
// extendsFrom configurations.default
45+
// }
46+
//}
47+
//
48+
//signing {
49+
// required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
50+
// sign configurations.archives
51+
//}
52+
//
53+
//uploadArchives {
54+
// configuration = configurations.archives
55+
// repositories.mavenDeployer {
56+
// beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
57+
//
58+
// repository(url: sonatypeRepo) {
59+
// authentication(userName: sonatypeUsername,
60+
// password: sonatypePassword)
61+
// }
62+
//
63+
// pom.project {
64+
// name 'FirebaseUI'
65+
// packaging 'aar'
66+
// description 'FirebaseUI library for Android applications'
67+
// url 'https://github.com/firebase/FirebaseUI-Android'
68+
//
69+
// scm {
70+
// url 'scm:[email protected]/firebase/FirebaseUI-Android'
71+
// connection 'scm:git:[email protected]:firebase/FirebaseUI-Android.git'
72+
// developerConnection 'scm:git:[email protected]:firebase/FirebaseUI-Android.git'
73+
// }
74+
//
75+
// organization {
76+
// name 'Firebase'
77+
// url 'https://www.firebase.com/'
78+
// }
79+
//
80+
// licenses {
81+
// license {
82+
// name 'MIT'
83+
// url 'http://firebase.mit-license.org'
84+
// }
85+
// }
86+
//
87+
// developers {
88+
// developer {
89+
// id 'puf'
90+
// name 'Frank van Puffelen'
91+
92+
// }
93+
// }
94+
// }
95+
// }
96+
//}
9797

9898
dependencies {
9999
compile fileTree(dir: 'libs', include: ['*.jar'])

library/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,19 @@
2626
<email>[email protected]</email>
2727
</developer>
2828
</developers>
29+
<build>
30+
<plugins>
31+
<plugin>
32+
<groupId>com.simpligility.maven.plugins</groupId>
33+
<artifactId>android-maven-plugin</artifactId>
34+
<version>4.1.0</version>
35+
<extensions>true</extensions>
36+
<configuration>
37+
<sign>
38+
<debug>false</debug>
39+
</sign>
40+
</configuration>
41+
</plugin>
42+
</plugins>
43+
</build>
2944
</project>

0 commit comments

Comments
 (0)