Skip to content

Commit 5737cf8

Browse files
authored
Merge pull request #7 from uncinc/feature/update-readme
feat: Updated README;
2 parents 9da2eac + 6dba1ff commit 5737cf8

File tree

1 file changed

+26
-9
lines changed

1 file changed

+26
-9
lines changed

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# android-ci
22
[ ![Download](https://api.bintray.com/packages/uncinc/android-ci/UncIncAndroidCIPlugin/images/download.svg) ](https://bintray.com/uncinc/android-ci/UncIncAndroidCIPlugin/_latestVersion)
3-
4-
Helper library to automatically build [~~and publish~~](https://github.com/uncinc/android-ci/issues/1) an Android app via CI.
53

6-
The current library is an internal testing alpha release, more documentation and features will be available in the future. Feature requests are welcome, please submit a Github issue.
4+
Helper library to automatically build [~~and publish~~](https://github.com/uncinc/android-ci/issues/1) an Android app via CI.
75

8-
## Setup
6+
The current library is an internal testing alpha release, more documentation and features will be available in the future. Feature requests are welcome, please submit a Github issue.
7+
8+
# Setup
99
1. Include the repository, to your root build.gradle add the following contents:
1010
```gradle
1111
buildscript {
@@ -15,7 +15,7 @@ buildscript {
1515
}
1616
}
1717
dependencies {
18-
classpath 'nl.uncinc.androidci:UncIncAndroidCI:0.3'
18+
classpath 'nl.uncinc.androidci:UncIncAndroidCI:0.4'
1919
}
2020
}
2121
```
@@ -32,9 +32,18 @@ android {
3232
versionName project.ext.androidci.getVersionName()
3333
}
3434
35+
signingConfigs {
36+
release {
37+
storeFile = project.ext.androidci.getStoreFile()
38+
storePassword = project.ext.androidci.getStorePassword()
39+
keyAlias = project.ext.androidci.getKeyAlias()
40+
keyPassword = project.ext.androidci.getKeyPassword()
41+
}
42+
}
43+
3544
buildTypes {
3645
release {
37-
signingConfig project.ext.androidci.getSigningConfig()
46+
signingConfig signingConfigs.release
3847
}
3948
}
4049
}
@@ -51,15 +60,23 @@ storeFile=/Full/Path/To/keystore.jks
5160
./gradlew -Pandroidci.signingProperties=/Full/Path/To/signing.properties -Pandroidci.versionCode=2
5261
```
5362

54-
# Possible properties
63+
## Possible properties
5564
| Property | Purpose | Default Value |
5665
|-----------------------------|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
5766
| androidci.signingProperties | Full path to the file with the signing configuration. Should be available to CI. | android-app-signing.properties (and if it does not exist. The Debug build key) |
5867
| androidci.versionCode | Android versionCode, use an Integer value | 1 |
5968
| androidci.versionName | Android versionName, should be a String | Git hash of the repo |
60-
| androidci.applicationId | Override for application identifier, for multiple app flavours (e.g. Beta release) | Parameter given in the android defaultConfig |
69+
| androidci.applicationId | Override for application identifier, for multiple app flavours (e.g. Beta release) | Parameter given in the android defaultConfig |
70+
71+
# Release
72+
73+
This package is released to our custom Maven repository, https://releases.uncinc.nl/maven. There is currently no automatic CI, so the workaround is to build the package to a local directory, and sync that to the releases.uncinc.nl server. To build, run:
74+
75+
```
76+
./gradlew uploadArchives
77+
```
6178

62-
# License
79+
# License
6380
MIT License
6481

6582
Copyright (c) 2020 Unc Inc

0 commit comments

Comments
 (0)