6.7.0 - Alpha6 - Gradle 构建脚本转换 (Groovy -> Kotlin DSL)

This commit is contained in:
SuperMonster003
2025-09-30 22:30:06 +08:00
parent 834cde26ea
commit 4fe314d301
23 changed files with 609 additions and 573 deletions

View File

@@ -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
}

View 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)
}