android_dependecies -> android-app-dependencies.gradle.kts

This commit is contained in:
Milos Kozak 2023-10-16 11:43:07 +02:00
parent 5af396b5b0
commit 2a782fa266
2 changed files with 38 additions and 1 deletions

View file

@ -11,9 +11,9 @@ plugins {
id("kotlinx-serialization")
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
id("android-app-dependencies")
}
apply(from = "${project.rootDir}/core/main/android_dependencies.gradle")
apply(from = "${project.rootDir}/core/main/jacoco_global.gradle")
apply(from = "${project.rootDir}/core/main/test_dependencies.gradle")

View file

@ -0,0 +1,37 @@
plugins {
id("com.android.application")
id("kotlin-android")
}
android {
compileSdk = Versions.compileSdk
defaultConfig {
minSdk = 28
@Suppress("DEPRECATION")
targetSdk = 28
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
viewBinding = true
}
buildTypes {
named("release") {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"))
}
}
compileOptions {
sourceCompatibility = Versions.javaVersion
targetCompatibility = Versions.javaVersion
}
lint {
checkReleaseBuilds = false
disable += "MissingTranslation"
disable += "ExtraTranslation"
}
}