50 lines
1 KiB
Groovy
50 lines
1 KiB
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'kotlin-android'
|
||
|
id 'org.jlleitschuh.gradle.ktlint'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
buildToolsVersion BUILD_TOOL_VERSION
|
||
|
compileSdkVersion COMPILE_SDK
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion MINIMUM_SDK
|
||
|
targetSdkVersion TARGET_SDK
|
||
|
multiDexEnabled true
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
coreLibraryDesugaringEnabled true
|
||
|
sourceCompatibility JAVA_VERSION
|
||
|
targetCompatibility JAVA_VERSION
|
||
|
}
|
||
|
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
disable 'InvalidVectorPath'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ktlint {
|
||
|
// Use a newer version to resolve https://github.com/JLLeitschuh/ktlint-gradle/issues/507
|
||
|
version = "0.43.2"
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
lintChecks project(':lintchecks')
|
||
|
|
||
|
implementation project(':core-util')
|
||
|
|
||
|
coreLibraryDesugaring libs.android.tools.desugar
|
||
|
|
||
|
implementation libs.androidx.core.ktx
|
||
|
implementation libs.androidx.annotation
|
||
|
implementation libs.androidx.appcompat
|
||
|
|
||
|
api libs.rxjava3.rxjava
|
||
|
}
|