File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ If you are referencing a newer version of the Android Support Library in your ap
160160The build requires Gradle. Operations are very simple:
161161
162162* install [ gradle] ( http://www.gradle.org/ )
163- * ` gradle build ` builds the aar
163+ * ` gradle assemble ` builds all artifacts
164164* ` gradle jar ` builds the jar
165165
166166After putting Crouton in a repository you can add it as dependency.
@@ -171,6 +171,33 @@ compile('de.keyboardsurfer.android.widget:crouton:1.8.1') {
171171}
172172```
173173
174+ ###Signing
175+
176+ To sign your artifacts, create a file at the repository root, called ` gradle.properties ` that contains:
177+
178+
179+ ```
180+ # makes building faster
181+ org.gradle.daemon true
182+
183+ # only requried for the demo
184+ keyStore=theKeyStoreFileName
185+ storePassword=theStorePassword
186+ keyAlias=theKeyAlias
187+ keyPassword=theKeyPassword
188+
189+ # for uploading to a repository
190+ repositoryUrl=yourRepositoryUrl
191+ sonatypeUser=yourSonatypeUser
192+ sonatypePass=yourSonatypePassword
193+
194+ # if you want to sign the built artifacts
195+ signing.keyId=yourKeyId
196+ signing.password=yourGPGPassword
197+ signing.secretKeyRingFile=/path/to/your/secring
198+ ```
199+
200+
174201## Contribution
175202
176203###Questions
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ uploadArchives {
9797 mavenDeployer {
9898 beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
9999
100- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/ " ) {
100+ repository(url : repositoryUrl ) {
101101 authentication(userName : sonatypeUser, password : sonatypePass)
102102 }
103103
Original file line number Diff line number Diff line change 1111# proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212
1313# Project target.
14- target =android-18
14+ target =android-19
15+ android.library.reference.1 =../library
You can’t perform that action at this time.
0 commit comments