ed8009d9fa
Apply ktlint-gradle plugin to all Gradle subprojects.
39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
implementation project(":app:core")
|
|
|
|
api "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
|
api "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
|
|
api "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
|
|
|
|
implementation "androidx.core:core-ktx:${versions.androidxCore}"
|
|
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion buildConfig.compileSdk
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion buildConfig.minSdk
|
|
targetSdkVersion buildConfig.robolectricSdk
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility javaVersion
|
|
targetCompatibility javaVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = kotlinJvmVersion
|
|
}
|
|
}
|