AppCompat 1.2.0 to 1.5.1 Lifecycle 2.3.1 to 2.5.1 Navigation 2.3.5 to 2.5.2 Fragment 1.3.5 to 1.5.2 Annotations 1.2.0 to 1.4.0 Window 1.0.0-alpha09 to 1.0.0 AAPT2 to 7.0.4 Fragment-Testing 1.3.5 to 1.5.2 (matching Fragment)
47 lines
No EOL
1.1 KiB
Groovy
47 lines
No EOL
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'org.jlleitschuh.gradle.ktlint'
|
|
|
|
android {
|
|
buildToolsVersion BUILD_TOOL_VERSION
|
|
compileSdkVersion COMPILE_SDK
|
|
|
|
defaultConfig {
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
minSdkVersion 19
|
|
targetSdkVersion TARGET_SDK
|
|
multiDexEnabled true
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
compileOptions {
|
|
coreLibraryDesugaringEnabled true
|
|
sourceCompatibility JAVA_VERSION
|
|
targetCompatibility JAVA_VERSION
|
|
}
|
|
}
|
|
|
|
ktlint {
|
|
// Use a newer version to resolve https://github.com/JLLeitschuh/ktlint-gradle/issues/507
|
|
version = "0.43.2"
|
|
}
|
|
|
|
dependencies {
|
|
coreLibraryDesugaring libs.android.tools.desugar
|
|
|
|
implementation libs.androidx.activity.ktx
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.material.material
|
|
implementation libs.androidx.constraintlayout
|
|
|
|
implementation libs.kotlin.stdlib.jdk8
|
|
|
|
testImplementation testLibs.junit.junit
|
|
|
|
implementation project(':core-util')
|
|
} |