apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-parcelize' apply plugin: 'androidx.navigation.safeargs.kotlin' android { compileSdkVersion 30 defaultConfig { applicationId 'org.y20k.trackbook' minSdkVersion 25 targetSdkVersion 30 versionCode 47 versionName '2.0.10' resConfigs "en", "da", "de", "fr", "hr", "id", "it", "ja", "nb-rNO", "nl", "pt-rBR", "sv", "tr", "zh-rCN" } kotlinOptions { jvmTarget = '1.8' } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } lintOptions { disable 'MissingTranslation', 'GoogleAppIndexingWarning' } packagingOptions { exclude 'META-INF/*' } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { // Comment out the below lines if you do not need to test resource shrinking // minifyEnabled true // shrinkResources true // proguardFiles getDefaultProguardFile( // 'proguard-android-optimize.txt'), // 'proguard-rules.pro' } } } dependencies { // Kotlin def coroutinesVersion = "1.4.1" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion" // AndroidX def navigationVersion = "2.3.3" implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.core:core-ktx:1.3.2' implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion" implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion" implementation 'androidx.preference:preference-ktx:1.1.1' implementation 'com.google.android.material:material:1.3.0' // Gson implementation 'com.google.code.gson:gson:2.8.6' // OpenStreetMap implementation 'org.osmdroid:osmdroid-android:6.1.10' }