6.7.0 - Alpha6 - Gradle 构建脚本转换 (Groovy -> Kotlin DSL)
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
plugins {
|
||||
id 'org.autojs.build.versions'
|
||||
id 'org.autojs.build.jvm-convention'
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'net.dongliu.apk.parser'
|
||||
compileSdk = versions.sdkVersionCompile
|
||||
|
||||
defaultConfig {
|
||||
minSdk = versions.sdkVersionMin
|
||||
targetSdk = versions.sdkVersionTarget
|
||||
|
||||
versionName '6'
|
||||
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
multiDexEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.bcprov.jdk15on
|
||||
implementation libs.bcpkix.jdk15on
|
||||
implementation libs.annotation
|
||||
}
|
||||
28
modules/apk-parser/build.gradle.kts
Normal file
28
modules/apk-parser/build.gradle.kts
Normal file
@@ -0,0 +1,28 @@
|
||||
plugins {
|
||||
id("org.autojs.build.versions")
|
||||
id("org.autojs.build.jvm-convention")
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "net.dongliu.apk.parser"
|
||||
version = "6"
|
||||
compileSdk = versions.sdkVersionCompile
|
||||
|
||||
defaultConfig {
|
||||
minSdk = versions.sdkVersionMin
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
multiDexEnabled = true
|
||||
}
|
||||
|
||||
lint {
|
||||
targetSdk = versions.sdkVersionTarget
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.bcprov.jdk15on)
|
||||
implementation(libs.bcpkix.jdk15on)
|
||||
implementation(libs.annotation)
|
||||
}
|
||||
2
modules/apk-parser/proguard-rules.pro
vendored
2
modules/apk-parser/proguard-rules.pro
vendored
@@ -1,6 +1,6 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
# proguardFiles setting in build.gradle.kts.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
Reference in New Issue
Block a user