apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-parcelize' apply plugin: 'androidx.navigation.safeargs.kotlin' android { compileSdkVersion 33 defaultConfig { applicationId 'net.voussoir.trkpt' minSdkVersion 25 targetSdk 32 versionCode 54 versionName '1.0.3' 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 { applicationIdSuffix '.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.6.4' 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.5.3' implementation 'androidx.activity:activity-ktx:1.6.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.core:core-ktx:1.9.0' implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion" implementation "androidx.navigation:navigation-ui-ktx:2.5.3" implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'com.google.android.material:material:1.9.0-alpha02' // Gson implementation 'com.google.code.gson:gson:2.10.1' // OpenStreetMap implementation 'org.osmdroid:osmdroid-android:6.1.14' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10' }