apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-parcelize' apply plugin: 'androidx.navigation.safeargs.kotlin' android { compileSdkVersion 31 defaultConfig { applicationId 'net.voussoir.trackbook' minSdkVersion 25 targetSdkVersion 31 versionCode 50 versionName '2.1.2' resConfigs "en", "da", "de", "fr", "hr", "id", "it", "ja", "nb-rNO", "nl", "pl", "pt-rBR", "ru", "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.5.2" 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.5" implementation "androidx.activity:activity-ktx:1.4.0" implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' implementation 'androidx.core:core-ktx:1.7.0' implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion" implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion" implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'com.google.android.material:material:1.6.0-alpha03' // Gson implementation 'com.google.code.gson:gson:2.9.0' // OpenStreetMap implementation 'org.osmdroid:osmdroid-android:6.1.11' }