plugins{ id 'com.android.application' id'kotlin-android' id 'kotlin-android-extensions' id 'kotlin-kapt' id 'com.github.triplet.play' version '2.0.0' } android { compileSdkVersion 29 defaultConfig { applicationId "com.sduduzog.slimlauncher" minSdkVersion 16 targetSdkVersion 29 versionCode 38 versionName "2.3.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } signingConfigs { release { storeFile file(System.getenv("KEYSTORE") ?: "keystore.jks") storePassword System.getenv("KEYSTORE_PASSWORD") keyAlias System.getenv("KEY_ALIAS") keyPassword System.getenv("KEYSTORE_PASSWORD") } } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } debug { minifyEnabled false applicationIdSuffix ".debug" proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') // Kotlin Libraries implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // Support Libraries implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' // Arch Components implementation 'androidx.core:core-ktx:1.2.0-alpha02' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation 'android.arch.navigation:navigation-fragment:1.0.0' implementation 'androidx.room:room-runtime:2.1.0' kapt "androidx.room:room-compiler:2.1.0" kapt "androidx.lifecycle:lifecycle-compiler:2.0.0" //3rd party libs implementation 'com.intuit.sdp:sdp-android:1.0.6' implementation 'com.intuit.ssp:ssp-android:1.0.6' // Test libs testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:2.19.0' androidTestImplementation 'androidx.room:room-testing:2.1.0' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation 'androidx.annotation:annotation:1.1.0' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation "androidx.arch.core:core-testing:2.0.1" androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0' } // Configuration for com.github.triplet.play deployment play { track = 'beta' // or alpha or beta... serviceAccountCredentials = file(System.getenv("PRIVATE_KEY") ?: "private_key.json") defaultToAppBundles = true // Use App Bundle instead of APK resolutionStrategy = "ignore" //If the deployment fails due to an API error, don't fail the CI Build }