android_dependecies -> android-app-dependencies.gradle.kts
This commit is contained in:
parent
5af396b5b0
commit
2a782fa266
2 changed files with 38 additions and 1 deletions
|
@ -11,9 +11,9 @@ plugins {
|
||||||
id("kotlinx-serialization")
|
id("kotlinx-serialization")
|
||||||
id("com.google.gms.google-services")
|
id("com.google.gms.google-services")
|
||||||
id("com.google.firebase.crashlytics")
|
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/jacoco_global.gradle")
|
||||||
apply(from = "${project.rootDir}/core/main/test_dependencies.gradle")
|
apply(from = "${project.rootDir}/core/main/test_dependencies.gradle")
|
||||||
|
|
||||||
|
|
37
buildSrc/src/main/kotlin/android-app-dependencies.gradle.kts
Normal file
37
buildSrc/src/main/kotlin/android-app-dependencies.gradle.kts
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue