Skip to content

feat(gradle): upgrade the maven publishing #6367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: release_v4.8.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ subprojects {
reproducibleFileOrder = true
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
}

task copyToParent(type: Copy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ public void testBroadcastBeforeAllowZksnark()
}

/*
* generate spendproof, dataToBeSigned, outputproof example dynamically according to the params file
* generate spendproof, dataToBeSigned,
* outputproof example dynamically according to the params file
*/
public String[] generateSpendAndOutputParams() throws ZksnarkException, BadItemException {
librustzcashInitZksnarkParams();
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
install:
- ./gradlew clean -xtest -xlint -xcheck -PbinaryRelease=false install
- ./gradlew clean -xtest -xlint -xcheck -PbinaryRelease=false publishToMavenLocal