-
-
Save mattrob33/650233c32bf3f300a02e643a1f11f5f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun BaseExtension.baseConfig() { | |
compileSdkVersion(AppConfig.compileSdk) | |
defaultConfig.apply { | |
minSdk = AppConfig.minSdk | |
targetSdk = AppConfig.targetSdk | |
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | |
} | |
compileOptions.apply { | |
sourceCompatibility = AppConfig.CompileOptions.javaSourceCompatibility | |
targetCompatibility = AppConfig.CompileOptions.javaSourceCompatibility | |
} | |
tasks.withType<KotlinCompile> { | |
kotlinOptions { | |
jvmTarget = AppConfig.CompileOptions.kotlinJvmTarget | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment