trkpt/app/build.gradle

90 lines
2.8 KiB
Groovy
Raw Normal View History

2016-08-29 12:50:41 +00:00
apply plugin: 'com.android.application'
2020-01-02 17:00:37 +00:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'androidx.navigation.safeargs.kotlin'
2016-08-29 12:50:41 +00:00
android {
2020-01-02 17:00:37 +00:00
compileSdkVersion 29
// buildToolsVersion is optional because the plugin uses a recommended version by default
2016-08-29 12:50:41 +00:00
defaultConfig {
2020-01-02 17:00:37 +00:00
applicationId 'org.y20k.trackbook'
minSdkVersion 25
targetSdkVersion 27
2020-05-20 12:07:26 +00:00
versionCode 41
2020-04-08 12:03:09 +00:00
versionName '2.0.3'
2020-01-09 12:23:04 +00:00
resConfigs "en", "da", "de", "fr", "id", "it", "ja", "nb-rNO", "nl", "sv", "zh-rCN"
2016-08-29 12:50:41 +00:00
}
2020-01-02 17:00:37 +00:00
kotlinOptions {
jvmTarget = '1.8'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions{
disable 'MissingTranslation'
}
2020-01-02 17:00:37 +00:00
buildTypes {
2016-08-29 12:50:41 +00:00
release {
2020-01-02 17:00:37 +00:00
// Enables code shrinking, obfuscation, and optimization for only
// your project's release build type.
2016-08-29 12:50:41 +00:00
minifyEnabled true
2020-01-02 17:00:37 +00:00
// Enables resource shrinking, which is performed by the
// Android Gradle plugin.
2017-11-28 21:02:45 +00:00
shrinkResources true
2020-01-02 17:00:37 +00:00
// Includes the default ProGuard rules files that are packaged with
// the Android Gradle plugin. To learn more, go to the section about
// R8 configuration files.
proguardFiles getDefaultProguardFile(
'proguard-android-optimize.txt'),
'proguard-rules.pro'
2016-08-29 12:50:41 +00:00
}
2020-01-02 17:00:37 +00:00
debug {
// Comment out the below lines if you do not need to test resource shrinking
2020-02-26 13:59:21 +00:00
// minifyEnabled true
// shrinkResources true
// proguardFiles getDefaultProguardFile(
// 'proguard-android-optimize.txt'),
// 'proguard-rules.pro'
2020-01-02 17:00:37 +00:00
}
2019-03-04 16:43:27 +00:00
}
2016-08-29 12:50:41 +00:00
}
dependencies {
2020-01-02 17:00:37 +00:00
implementation fileTree(dir: 'libs', include: ['*.jar'])
2020-01-02 17:00:37 +00:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
2020-01-28 16:39:45 +00:00
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0"
2020-01-02 17:00:37 +00:00
implementation 'androidx.appcompat:appcompat:1.1.0'
2020-02-22 16:45:05 +00:00
implementation "androidx.core:core-ktx:1.2.0"
2020-01-02 17:00:37 +00:00
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2'
implementation 'androidx.navigation:navigation-ui-ktx:2.2.2'
2020-01-02 17:00:37 +00:00
implementation "com.google.android.material:material:1.1.0-beta01"
implementation "com.google.code.gson:gson:2.8.6"
implementation "org.osmdroid:osmdroid-android:6.1.6"
2020-01-02 17:00:37 +00:00
}
androidExtensions {
experimental = true
2016-08-29 12:50:41 +00:00
}