Skip to content
Snippets Groups Projects
Commit 8b465aab authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Updated install instructions

parent d5340757
No related branches found
No related tags found
No related merge requests found
Build Guide
===========
First build libraries:
```
cd AndroidSlidingUpPanel
gradle build
```
```
cd aspm
gradle shadowJar
```
Then copy or link the files at the appropriate places:
```
cp aspm/annotations/build/libs/annotations.jar app/libs/
cp aspm/compiler/build/libs/compiler-all.jar app/libs/
cp AndroidSlidingUpPanel/library/build/outputs/aar/library-release.aar app/libs/
```
Then invoke gradle for the main project:
```
gradle assembleRelease
```
......@@ -50,31 +50,22 @@ downloaded from maven central):
##Building
The build process uses gradle. Run `gradle tasks` to see possible tasks,
`gradle assembleRelease` to assemble a release build and `gradle installDebug`
to install a debug build on a device connected via `adb`.
To sign your releases, [generate a keypair]() and create a file named
`signing.gradle` in the `app/` folder with the following content to let gradle
automatically sign your builds
```groovy
android {
signingConfigs {
release {
storeFile file("/path/to/your/keystore/here.keystore")
storePassword "passwordofyourkeystorehere"
keyAlias "nameofyourkeyhere"
keyPassword "passwordofyourkeyhere"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
The build process uses gradle, and requires it to be available as command
"gradle". Use the `install.sh` script to pull and build the dependencies.
Run `gradle tasks` to see possible tasks, `gradle assembleRelease` to assemble a
release build and `gradle installDebug` to install a debug build on a device
connected via `adb`.
To sign your releases, [generate a keypair](http://developer.android.com/tools/publishing/app-signing.html)
and create a file named `signing.gradle` in the `app/` folder with the following
content to let gradle automatically sign your builds.
```
storeFile=/path/to/your/keystore/here.keystore
storePassword=passwordofyourkeystorehere
keyAlias=nameofyourkeyhere
keyPassword=passwordofyourkeyhere
```
##Note
......
#!/bin/sh
# Update submodules
git submodule update --init
# Create directories
mkdir -p app/libs/
# Build AndroidSlidingUpPanel
echo sdk.dir=$ANDROID_HOME > AndroidSlidingUpPanel/local.properties
cd AndroidSlidingUpPanel
gradle build
......@@ -9,6 +14,7 @@ cd ..
cp AndroidSlidingUpPanel/library/build/outputs/aar/library-release.aar app/libs/library-release.aar
rm AndroidSlidingUpPanel/local.properties
# Build aspm
echo sdk.dir=$ANDROID_HOME > aspm/local.properties
cd aspm
gradle build jar shadowJar
......@@ -17,6 +23,7 @@ cp aspm/annotations/build/libs/annotations.jar app/libs/annotations.jar
cp aspm/compiler/build/libs/compiler-all.jar app/libs/compiler-all.jar
rm aspm/local.properties
# Build QuasselDroidNG
echo sdk.dir=$ANDROID_HOME > local.properties
gradle assembleRelease -x lintVitalRelease
rm local.properties
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment