Skip to content

Commit

Permalink
jitpack bug fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
lihangleo2 committed Sep 9, 2023
1 parent 59c4085 commit 242ac62
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions smartVpageAdapterlibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,25 @@ 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 {
release(MavenPublication) {
from components.release
groupId = 'com.smart.adapter' //groupId 随便取
artifactId = 'SmartAdapter' //artifactId 随便取
version = '1.0.0'
create("maven_public", MavenPublication::class) {
groupId = "com.smart.adapter"
artifactId = "SmartAdapter"
version = "1.0.0"
from(components.getByName("java"))
}
}
}
}
}

0 comments on commit 242ac62

Please sign in to comment.