File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 6
6
<name >FirebaseUI-Android</name >
7
7
<description >FirebaseUI library for Android applications</description >
8
8
<url >https://github.com/firebase/FirebaseUI-Android</url >
9
- <version >0.2.0</version >
10
9
<packaging >aar</packaging >
11
10
<scm >
12
11
<
url >scm:
[email protected] /firebase/FirebaseUI-Android</
url >
Original file line number Diff line number Diff line change @@ -54,10 +54,12 @@ gradle clean :app:compileDebugSources :app:compileDebugAndroidTestSources :libra
54
54
# DEPLOY TO MAVEN #
55
55
# ##################
56
56
read -p " Next, make sure this repo is clean and up to date. We will be kicking off a deploy to maven." DERP
57
+
57
58
# the next line installs the output of build.gradle into (local) maven, but does not tag it in git
58
59
# mvn install:install-file -Dfile=library/build/outputs/aar/library-release.aar -DgroupId=com.firebase -DartifactId=firebase-ui -Dversion=$VERSION -Dpackaging=aar
60
+
59
61
# the next line signs and deploys the aar file to maven
60
- # mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -DpomFile=library/pom.xml -Dfile=library/build/outputs/aar/library-debug.aar -Dversion=$VERSION
62
+ mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -DpomFile=library/pom.xml -Dfile=library/build/outputs/aar/library-debug.aar -Djavadoc=library/build/outputs/library-javadoc.jar -Dversion=$VERSION
61
63
62
64
if [[ $? -ne 0 ]]; then
63
65
echo " error: Error building and releasing to maven."
You can’t perform that action at this time.
0 commit comments