Skip to content

Commit 2785e05

Browse files
authored
Update maven artifact configuration. (#11)
* Change the license of the published artifacts to "Apache 2.0" * Add git repository information to the generated poms
1 parent aafc0c7 commit 2785e05

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/publish/PublishingPlugin.groovy

+6-3
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,15 @@ class PublishingPlugin implements Plugin<Project> {
104104
from sub.components.android
105105
pom {
106106
licenses {
107-
//TODO(vkryachko): change to apache2 before open-sourcing.
108107
license {
109-
name = 'Android Software Development Kit License'
110-
url = 'https://developer.android.com/studio/terms.html'
108+
name = 'The Apache Software License, Version 2.0'
109+
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
111110
}
112111
}
112+
scm {
113+
connection = 'scm:git:https://github.com/firebase/firebase-android-sdk.git'
114+
url = 'https://github.com/firebase/firebase-android-sdk'
115+
}
113116
}
114117
publisher.decorate(sub, it)
115118
}

0 commit comments

Comments
 (0)