Skip to content

Commit d6a4408

Browse files
build(lite): 更新 Maven 发布配置
- 移除 mavenLocal() 仓库配置 - 添加 mavenPublication 配置,指定 groupId、artifactId 和 version - 修改版本号为 1.1.5
1 parent b1be5d1 commit d6a4408

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

lite/build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ plugins {
33
id('maven-publish')
44
}
55

6+
publishing {
7+
publications {
8+
maven(MavenPublication) {
9+
groupId = 'com.github.AndroidCoderPeng'
10+
artifactId = 'Androidx-lite-lib'
11+
version = '1.1.5'
12+
}
13+
}
14+
}
15+
616
android {
717
namespace 'com.pengxh.androidx.lite'
818
compileSdk 35
@@ -31,12 +41,6 @@ android {
3141
}
3242
}
3343

34-
publishing {
35-
repositories {
36-
mavenLocal()
37-
}
38-
}
39-
4044
dependencies {
4145
implementation 'androidx.appcompat:appcompat:1.7.0'
4246
implementation 'com.google.android.material:material:1.12.0'

0 commit comments

Comments
 (0)