增强配置化打包程序,可有效防止手动打包配置错误
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user