Skip to content

Commit

Permalink
修复发布 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lcyluo committed Dec 25, 2024
1 parent d33a692 commit 543f3b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ buildscript {
dependencies {
//noinspection GradleDependency
classpath 'com.android.tools.build:gradle:8.0.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

Expand Down
12 changes: 12 additions & 0 deletions easyPhotos/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ android {
namespace 'com.huantansheng.easyphotos'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.lcyluo' //groupId 随便取
artifactId = 'EasyPhotos' //test随便取
version = '1.2.4'
}
}
}
}

dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//noinspection GradleDependency
Expand Down

0 comments on commit 543f3b9

Please sign in to comment.