2016-08-29 12:50:41 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-11-04 09:13:19 +00:00
|
|
|
|
2017-06-12 08:11:51 +00:00
|
|
|
compileSdkVersion project.ext.compileSdkVersion
|
2018-11-04 09:13:19 +00:00
|
|
|
// buildToolsVersion is optional because the plugin uses a recommended version by default
|
2016-08-29 12:50:41 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2017-06-12 08:11:51 +00:00
|
|
|
applicationId project.ext.applicationId
|
|
|
|
minSdkVersion project.ext.minSdkVersion
|
|
|
|
targetSdkVersion project.ext.targetSdkVersion
|
|
|
|
versionCode project.ext.versionCode
|
|
|
|
versionName project.ext.versionName
|
2017-08-29 08:30:45 +00:00
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2019-06-30 08:54:51 +00:00
|
|
|
resConfigs "en", "da", "de", "fr", "id", "it", "ja", "nb-rNO", "nl", "sv", "zh-rCN"
|
2016-08-29 12:50:41 +00:00
|
|
|
}
|
2018-11-04 09:13:19 +00:00
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
buildTypes {
|
2018-11-04 09:13:19 +00:00
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
release {
|
|
|
|
minifyEnabled true
|
2017-11-28 21:02:45 +00:00
|
|
|
shrinkResources true
|
2016-08-29 12:50:41 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2018-11-04 09:13:19 +00:00
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
}
|
2019-03-04 16:43:27 +00:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
warning 'MissingTranslation'
|
|
|
|
}
|
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-11-04 09:13:19 +00:00
|
|
|
|
2018-01-12 16:42:47 +00:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2018-11-04 09:13:19 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2016-08-29 12:50:41 +00:00
|
|
|
}
|