reestructure gradle config so modules can implement a base configuration

This commit is contained in:
Carlos Martinez
2020-02-02 10:54:43 -03:00
parent a12f70090e
commit e3cdc2af2b
14 changed files with 139 additions and 6 deletions

29
core.gradle Normal file
View File

@@ -0,0 +1,29 @@
apply from: '../versions.gradle'
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion build_versions.target_sdk
buildToolsVersion build_versions.build_tools
defaultConfig {
minSdkVersion build_versions.min_sdk
targetSdkVersion build_versions.target_sdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
testOptions {
unitTests.returnDefaultValues = true
}
lintOptions {
abortOnError false
}
}