mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-01-14 13:13:34 +01:00
* Working with material styles * Replaced deprecated ViewModelProviders.of and applied base styles with material components * Various code style fixes and styles.xml improvements
35 lines
885 B
Groovy
35 lines
885 B
Groovy
android {
|
|
sourceSets {
|
|
main.java.srcDirs += "src/main/kotlin"
|
|
test.java.srcDirs += "src/test/kotlin"
|
|
androidTest.java.srcDirs += "src/androidTest/kotlin"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
freeCompilerArgs += "-Xuse-experimental=kotlin.Experimental"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
testCoverageEnabled = true
|
|
}
|
|
|
|
dev {
|
|
initWith debug
|
|
}
|
|
}
|
|
}
|