Skip to content

Commit

Permalink
fuck jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
lihangleo2 committed Sep 9, 2023
1 parent ea732be commit 31e9261
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions smartVpageAdapterlibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,16 @@ dependencies {

//解决发布版本bug:参考连接 https://blog.csdn.net/qq_41885673/article/details/121588094
afterEvaluate {
// publishing {
// publications {
// release(MavenPublication) {
// from components.release
// groupId = 'com.smart.adapter' //groupId 随便取
// artifactId = 'SmartAdapter' //artifactId 随便取
// version = '1.0.0'
// }
// }
// }
publishing {
publications {
create("maven_public", MavenPublication::class) {
groupId = "com.smart.adapter"
artifactId = "SmartAdapter"
version = "1.0.0"
from(components.getByName("java"))
release(MavenPublication) {
// from components.release
groupId = 'com.smart.adapter' //groupId 随便取
artifactId = 'SmartAdapter' //artifactId 随便取
version = '1.0.0'
}
}
}

}

0 comments on commit 31e9261

Please sign in to comment.