6.7.0 - Alpha6 - Gradle 构建脚本转换 (Groovy -> Kotlin DSL)
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
plugins {
|
||||
id 'org.autojs.build.versions'
|
||||
id 'org.autojs.build.jvm-convention'
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = 'com.wdullaer.materialdatetimepicker'
|
||||
|
||||
compileSdk = versions.sdkVersionCompile
|
||||
|
||||
defaultConfig {
|
||||
minSdk = versions.sdkVersionMin
|
||||
targetSdk = versions.sdkVersionTarget
|
||||
|
||||
versionName '4.2.3'
|
||||
versionCode 54
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.appcompat
|
||||
implementation libs.recyclerview
|
||||
|
||||
testImplementation libs.junit
|
||||
testImplementation libs.junit.quickcheck.core
|
||||
testImplementation libs.junit.quickcheck.generators
|
||||
|
||||
androidTestImplementation libs.test.ext.junit
|
||||
androidTestImplementation libs.test.runner
|
||||
androidTestImplementation libs.test.rules
|
||||
}
|
||||
46
modules/material-date-time-picker/build.gradle.kts
Normal file
46
modules/material-date-time-picker/build.gradle.kts
Normal file
@@ -0,0 +1,46 @@
|
||||
plugins {
|
||||
id("org.autojs.build.versions")
|
||||
id("org.autojs.build.jvm-convention")
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.wdullaer.materialdatetimepicker"
|
||||
version = "4.2.3 (54)"
|
||||
compileSdk = versions.sdkVersionCompile
|
||||
|
||||
defaultConfig {
|
||||
minSdk = versions.sdkVersionMin
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
}
|
||||
}
|
||||
|
||||
lint {
|
||||
targetSdk = versions.sdkVersionTarget
|
||||
abortOnError = false
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.appcompat)
|
||||
implementation(libs.recyclerview)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
testImplementation(libs.junit.quickcheck.core)
|
||||
testImplementation(libs.junit.quickcheck.generators)
|
||||
|
||||
androidTestImplementation(libs.test.ext.junit)
|
||||
androidTestImplementation(libs.test.runner)
|
||||
androidTestImplementation(libs.test.rules)
|
||||
}
|
||||
Reference in New Issue
Block a user