diff --git a/.gitignore b/.gitignore index 345433c6..352b8f78 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ local.properties .externalNativeBuild/ build/ captures/ +release/ .idea/ .d diff --git a/README.md b/README.md index db39092b..cac7431a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/local.properties.example b/local.properties.example deleted file mode 100644 index 2484df3b..00000000 --- a/local.properties.example +++ /dev/null @@ -1,4 +0,0 @@ -storeFile=/path/to/your/keystore -storePassword=passwd -keyPassword=passwd -keyAlias=alias diff --git a/mobile/build.gradle b/mobile/build.gradle index e7a911d8..bf7ea708 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -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"