Skip to content

Commit 3a3dd92

Browse files
committed
将 maven 插件配置中的依赖名称和依赖版本优化成动态化获取
1 parent 3888aef commit 3a3dd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ publishing {
2626
publications {
2727
release(MavenPublication) {
2828
groupId = 'com.github.getActivity'
29-
artifactId = 'XXPermissions'
30-
version = '22.0'
29+
artifactId = rootProject.name
30+
version = android.defaultConfig.versionName
3131
// 指定 aar 文件的确切路径:https://cloud.tencent.com/developer/ask/sof/106381154
3232
afterEvaluate {
3333
artifact(bundleReleaseAar)

0 commit comments

Comments
 (0)