增强配置化打包程序,可有效防止手动打包配置错误

This commit is contained in:
2024-06-20 14:02:15 +08:00
parent 29badbf725
commit a154f480f6
17 changed files with 188 additions and 86 deletions

View File

@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'kotlin-android'
apply from: "../package_config.gradle"
android {
compileSdkVersion 31
@@ -45,6 +46,7 @@ dependencies {
// Because the components are created only during the afterEvaluate phase, you must
// configure your publications using the afterEvaluate() lifecycle method.
/*
afterEvaluate {
publishing {
publications {
@@ -77,4 +79,4 @@ afterEvaluate {
}
}
}
}
}*/