diff --git a/README.md b/README.md index 59b5ffb..9178d35 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ DUSKEN_RELEASE_KEY_PASSWORD= # Build - cd android && ./gradlew assembleRelease + npm run build-android # Output is in android/app/build/outputs/apk diff --git a/android/app/build.gradle b/android/app/build.gradle index c8d985a..e49b6b1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -98,7 +98,7 @@ android { applicationId "no.neuf.chateau" minSdkVersion 16 targetSdkVersion 23 - versionCode 10 + versionCode 11 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" diff --git a/package.json b/package.json index e90f200..a800e07 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest", - "emulator": "emulator -avd $(emulator -list-avds | head)&" + "emulator": "emulator -avd $(emulator -list-avds | head)&", + "build-android": "cd android && ./gradlew assembleRelease" }, "dependencies": { "moment": "^2.18.1",