Skip to content

Commit

Permalink
adds gradle.properties.sample and info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardsurfer committed Mar 22, 2014
1 parent 3eecca6 commit df5f5f7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 25 deletions.
27 changes: 2 additions & 25 deletions README.markdown
Expand Up @@ -171,32 +171,9 @@ compile('de.keyboardsurfer.android.widget:crouton:1.8.3') {
}
```

###Signing

To sign your artifacts, create a file at the repository root, called `gradle.properties` that contains:


```
# makes building faster
org.gradle.daemon true
# only requried for the demo
keyStore=theKeyStoreFileName
storePassword=theStorePassword
keyAlias=theKeyAlias
keyPassword=theKeyPassword
# for uploading to a repository
repositoryUrl=yourRepositoryUrl
sonatypeUser=yourSonatypeUser
sonatypePass=yourSonatypePassword
# if you want to sign the built artifacts
signing.keyId=yourKeyId
signing.password=yourGPGPassword
signing.secretKeyRingFile=/path/to/your/secring
```
###Building and Signing

In order to build and sign Crouton locally you'll need to rename `gradle.properties.sample` to `gradle.properties`.

## Contribution

Expand Down
33 changes: 33 additions & 0 deletions gradle.properties.sample
@@ -0,0 +1,33 @@
#
# Copyright 2012 - 2014 Benjamin Weiss
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

org.gradle.daemon true

#android keystore data
keyStore=keystore.keystore
storePassword=storePass
keyAlias=keyAlias
keyPassword=somePass

#user data for sonatype
sonatypeUser=someUser
sonatypePass=somePassword
repositoryUrl=someRepo

#info from your pgp key
signing.keyId=foobar
signing.password=barfoo
signing.secretKeyRingFile=foobarbarfoo

0 comments on commit df5f5f7

Please sign in to comment.