diff options
| author | Mike Beattie <mike@ethernal.org> | 2019-09-19 10:12:30 +1200 |
|---|---|---|
| committer | Mike Beattie <mike@ethernal.org> | 2019-09-19 10:12:30 +1200 |
| commit | 3c4d4d5cc1a8361a713aba075b29c3f6509f3f90 (patch) | |
| tree | 2608b4750b70bcdb6449e121a5b4bdbc29ce9ee3 /altosdroid/app | |
| parent | 70fb078cac4203e76e04211a0b8f1a6eceb6298b (diff) | |
Add gradle build files
Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'altosdroid/app')
| -rw-r--r-- | altosdroid/app/build.gradle | 47 | ||||
| -rw-r--r-- | altosdroid/app/proguard-rules.pro | 21 |
2 files changed, 68 insertions, 0 deletions
diff --git a/altosdroid/app/build.gradle b/altosdroid/app/build.gradle new file mode 100644 index 00000000..1d976933 --- /dev/null +++ b/altosdroid/app/build.gradle @@ -0,0 +1,47 @@ +apply plugin: 'com.android.application' + +def keystorePropertiesFile = file(System.properties['user.home'] + "/altusmetrumllc/android_keystore.properties") +def keystoreProperties = new Properties() +keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) + +android { + signingConfigs { + release { + storeFile file(System.properties['user.home'] + "/altusmetrumllc/android_keystore.jks") + storePassword keystoreProperties['storePassword'] + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + } + } + + compileSdkVersion 28 + defaultConfig { + applicationId "org.altusmetrum.AltosDroid" + minSdkVersion 26 + targetSdkVersion 28 + versionCode 19 + versionName "1.9.1rc1" + } + buildTypes { + release { + signingConfig signingConfigs.release + minifyEnabled false + debuggable false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + debug { + debuggable true + } + } + lintOptions { + abortOnError false + } +} + +dependencies { + implementation 'androidx.appcompat:appcompat:1.0.0' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'com.google.android.gms:play-services-maps:17.0.0' + implementation fileTree(dir: 'libs', include: ['*.jar']) +} + diff --git a/altosdroid/app/proguard-rules.pro b/altosdroid/app/proguard-rules.pro new file mode 100644 index 00000000..f1b42451 --- /dev/null +++ b/altosdroid/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile |
