Skip to content

Commit 883c41a

Browse files
committed
feat(gradle): update the publishing
1 parent 1e35f79 commit 883c41a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ subprojects {
7171
reproducibleFileOrder = true
7272
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
7373
}
74+
75+
publishing {
76+
publications {
77+
mavenJava(MavenPublication) {
78+
from components.java
79+
}
80+
}
81+
}
7482
}
7583

7684
task copyToParent(type: Copy) {

jitpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
install:
2-
- ./gradlew clean -xtest -xlint -xcheck -PbinaryRelease=false install
2+
- ./gradlew clean -xtest -xlint -xcheck -PbinaryRelease=false publishToMavenLocal

0 commit comments

Comments
 (0)