Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
QuasselDroid-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
QuasselDroid-ng
Commits
8b465aab
Commit
8b465aab
authored
9 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated install instructions
parent
d5340757
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
INSTALL.md
+0
-28
0 additions, 28 deletions
INSTALL.md
README.md
+16
-25
16 additions, 25 deletions
README.md
install.sh
+7
-0
7 additions, 0 deletions
install.sh
with
23 additions
and
53 deletions
INSTALL.md
deleted
100644 → 0
+
0
−
28
View file @
d5340757
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
```
This diff is collapsed.
Click to expand it.
README.md
+
16
−
25
View file @
8b465aab
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
install.sh
+
7
−
0
View file @
8b465aab
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment