42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion project.ext.compileSdkVersion
|
|
buildToolsVersion project.ext.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
applicationId project.ext.applicationId
|
|
minSdkVersion project.ext.minSdkVersion
|
|
targetSdkVersion project.ext.targetSdkVersion
|
|
versionCode project.ext.versionCode
|
|
versionName project.ext.versionName
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
resConfigs "en", "de", "id", "it", "ja", "nb-rNO", "nl"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
// minifyEnabled true
|
|
// shrinkResources true
|
|
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraintlayoutVersion"
|
|
implementation "androidx.cardview:cardview:$cardviewVersion"
|
|
|
|
implementation "com.google.android.material:material:$materialVersion"
|
|
|
|
implementation "org.osmdroid:osmdroid-android:$osmdroidVersion"
|
|
implementation "com.google.code.gson:gson:$gsonVersion"
|
|
}
|