build.gradle unify

This commit is contained in:
Milos Kozak 2020-05-03 22:18:58 +02:00
parent 4451039566
commit db16434154
2 changed files with 15 additions and 3 deletions

View file

@ -127,7 +127,6 @@ open class AppModule {
interface AppBindings {
@Binds fun bindContext(mainApp: MainApp): Context
@Binds fun bindApplication(mainApp: MainApp): Application
@Binds fun bindInjector(mainApp: MainApp): HasAndroidInjector
@Binds

View file

@ -16,13 +16,26 @@ android {
consumerProguardFiles 'consumer-rules.pro'
}
kotlinOptions {
jvmTarget = '1.8'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled(project.hasProperty('coverage'))
}
firebaseDisable {
System.setProperty("disableFirebase", "true")
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {