Skip to content

Commit

Permalink
publish fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydroid1024 committed Sep 19, 2021
1 parent 7660766 commit 8ee11bc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
12 changes: 12 additions & 0 deletions anyby/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,16 @@ apply from: "../common.gradle"
dependencies {
api(project(":vbhelper"))
// implementation 'com.github.jaydroid1024:VBHelper:0.0.1'
}
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = 'com.jay.android'
artifactId = 'anyby'
}
}
}
}
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ dependencies {
testImplementation rootProject.ext.junit
androidTestImplementation rootProject.ext.junitX
androidTestImplementation rootProject.ext.espressoCore

}

1 change: 0 additions & 1 deletion simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ dependencies {


implementation(project(":anyby"))
// implementation 'com.github.jaydroid1024:VBHelper:0.0.1'


//todo 依赖 databinding-compiler 方便查看 ViewBinding 类的生成过程
Expand Down
16 changes: 14 additions & 2 deletions vbhelper/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
apply from: "../common.gradle"

dependencies {
// implementation(project(":vbhelper"))
// implementation 'com.github.jaydroid1024:VBHelper:0.0.1'

}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = 'com.github.jaydroid1024'
artifactId = 'vbhelper'
}
}
}
}

0 comments on commit 8ee11bc

Please sign in to comment.