34 lines
1.3 KiB
Groovy
34 lines
1.3 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", "v21", "w820dp"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'com.android.support:appcompat-v7:' + supportLibraryVersion
|
|
implementation 'com.android.support:design:' + supportLibraryVersion
|
|
implementation 'com.android.support:cardview-v7:' + supportLibraryVersion
|
|
implementation 'com.android.support.constraint:constraint-layout:' + constraintLayoutVersion
|
|
implementation 'org.osmdroid:osmdroid-android:' + osmdroidVersion
|
|
implementation 'com.google.code.gson:gson:' + gsonVersion
|
|
}
|