some gradle changes
This commit is contained in:
parent
1c467c70b2
commit
309267e9f2
2 changed files with 15 additions and 10 deletions
|
@ -1,8 +1,9 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
|
||||
compileSdkVersion project.ext.compileSdkVersion
|
||||
buildToolsVersion project.ext.buildToolsVersion
|
||||
// buildToolsVersion is optional because the plugin uses a recommended version by default
|
||||
|
||||
defaultConfig {
|
||||
applicationId project.ext.applicationId
|
||||
|
@ -14,21 +15,20 @@ android {
|
|||
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"
|
||||
|
@ -39,4 +39,5 @@ dependencies {
|
|||
|
||||
implementation "org.osmdroid:osmdroid-android:$osmdroidVersion"
|
||||
implementation "com.google.code.gson:gson:$gsonVersion"
|
||||
|
||||
}
|
||||
|
|
12
build.gradle
12
build.gradle
|
@ -1,31 +1,35 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.3.0-alpha13'
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.2.0'
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
project.ext {
|
||||
applicationId = 'org.y20k.trackbook'
|
||||
versionCode = 27
|
||||
versionName = '1.1.11'
|
||||
minSdkVersion = 22
|
||||
|
||||
compileSdkVersion = 28
|
||||
targetSdkVersion = 27
|
||||
buildToolsVersion = '28.0.3'
|
||||
minSdkVersion = 22
|
||||
|
||||
constraintlayoutVersion = '1.1.3'
|
||||
materialVersion = "1.0.0"
|
||||
|
|
Loading…
Reference in a new issue