Welcome Gradle Kotlin DSL

This commit is contained in:
topjohnwu
2020-07-04 06:53:31 -07:00
parent 67f7935421
commit 7922f65243
17 changed files with 425 additions and 371 deletions

View File

@@ -1,12 +0,0 @@
apply plugin: 'com.android.library'
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
consumerProguardFiles 'proguard-rules.pro'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}

View File

@@ -0,0 +1,14 @@
plugins {
id("com.android.library")
}
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
consumerProguardFiles("proguard-rules.pro")
}
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
}