altosdroid: Add BLUETOOTH_CONNECT permission, handle its lack
[fw/altos] / altosdroid / app / build.gradle.in
1 apply plugin: 'com.android.application'
2
3 def keystorePropertiesFile = file(System.properties['user.home'] + "/altusmetrumllc/android_keystore.properties")
4 def keystoreProperties = new Properties()
5 keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
6
7 android {
8     signingConfigs {
9         release {
10             storeFile file(System.properties['user.home'] + "/altusmetrumllc/android_keystore.jks")
11             storePassword keystoreProperties['storePassword']
12             keyAlias keystoreProperties['keyAlias']
13             keyPassword keystoreProperties['keyPassword']
14         }
15     }
16
17     compileSdkVersion 28
18     defaultConfig {
19         applicationId "org.altusmetrum.AltosDroid"
20         minSdkVersion 21
21         targetSdkVersion 30
22         versionCode @ANDROID_VERSION@
23         versionName "@VERSION@"
24     }
25     buildTypes {
26         release {
27             signingConfig signingConfigs.release
28             minifyEnabled false
29             debuggable false
30             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
31         }
32         debug {
33             debuggable true
34         }
35     }
36     lintOptions {
37         abortOnError false
38     }
39 }
40
41 dependencies {
42     implementation 'androidx.appcompat:appcompat:1.0.0'
43     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
44     implementation 'androidx.core:core:1.2.0'
45     implementation 'com.google.android.gms:play-services-maps:17.0.0'
46     implementation fileTree(dir: 'libs', include: ['*.jar'])
47 }