Commit c79412fd authored by Mygod's avatar Mygod

Remove signing configs in local.properties

On how to sign apks from cmdline: https://stackoverflow.com/a/25252900/2245107
parent 5f4e1a71
......@@ -4,6 +4,7 @@ local.properties
.externalNativeBuild/
build/
captures/
release/
.idea/
.d
......
......@@ -20,16 +20,8 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Kotlin.
* Set environment variable `ANDROID_HOME` to `/path/to/android-sdk`
* (optional) Set environment variable `ANDROID_NDK_HOME` to `/path/to/android-ndk` (default: `$ANDROID_HOME/ndk-bundle`)
* Set environment variable `GOROOT_BOOTSTRAP` to `/path/to/go`
* Create your key following the instructions at https://developer.android.com/studio/publish/app-signing.html
* Create `mobile/local.properties` from `mobile/local.properties.example` with your own key information
* Invoke the building like this
```bash
git submodule update --init --recursive
# Build the App
sbt clean go-build android:package-release
```
* Fetch submodules using `$ git submodule update --init --recursive`
* Build it using Android Studio or gradle script
### TRANSLATE
......
storeFile=/path/to/your/keystore
storePassword=passwd
keyPassword=passwd
keyAlias=alias
......@@ -57,18 +57,6 @@ android {
sourceSets.main.jniLibs.srcDirs += new File(project(':core').projectDir, "src/main/jni/overture")
}
def propsFile = rootProject.file('local.properties')
if (propsFile.exists()) {
def props = new Properties()
props.load(new FileInputStream(propsFile))
android.signingConfigs.release.storeFile = file(props['storeFile'])
android.signingConfigs.release.storePassword = props['storePassword']
android.signingConfigs.release.keyAlias = props['keyAlias']
android.signingConfigs.release.keyPassword = props['keyPassword']
} else {
android.buildTypes.release.signingConfig = null
}
dependencies {
implementation project(':core')
implementation "com.android.support:customtabs:$supportLibraryVersion"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment