Skip to content

Commit

Permalink
added maven central sync
Browse files Browse the repository at this point in the history
  • Loading branch information
albertlatacz committed Dec 2, 2016
1 parent b012811 commit 91e84fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:
- secure: "KdWNLW5VYhvGUMIB0Q4OwPfPAFLhVNi9hLRw2ZapBq245iVf7ayMXZznyOpSYgOjuXRqx/24ww+LSBFGM/rFetIiP2mA1A4RpxYpyRzJmfhxz3e4Rj71bE1JrLynY/MLIuH4NERMRdH1kZjQaY+IFkXqas5C+FD8Msj0owzlwLE="
- secure: "Z5wmAFWOUv1fV3A/iCDrz9J59vZVzAn1tQigpYKdCTsvuZMHvk7SP3+3Aak2NEtuRzzu09WuBmCE6pfES3HbvD2W0jR2iqiv0bECnt5pCptC9QjlAw9vvGhm0Tz/aR4dJwzAjWBREU4LTgjN65416jclKV1HxhJcw90CZbYBmNo="
- secure: "fovLGO44v27+u6dYAtT9zqpm/pJImgl6Bb4YqJ6VGSqx87axro3bkoeqlrw8aTThCqNxBCtoOPx7iPmQVi2l8fB5Dh7G8P50CYtT6fb9p8e7GHh9vZDBRk/UQmm5XALBX2dna1dN/UOKTyN/NFAajfCt6lAah5d9HvDpqw9E7Xs="
- secure: "BhPDDFZqVLPx5g2Tu4n2AMT9MhmnFKmK9g+D+jmOkkn9CEMPByWoJDqOZghUE/1Dw0f8wv6wmjK6WfolmxT0lTTmybN9+b/K9yTULldx1tIQ+bXToaf+cSjw+ZBkY8WSgBa5h3tHSRLpjp+zgERuJR1erWsIpU6UDVfx2RgVHeg="
- secure: "AZAE6aWnJyQvNsEL/9PFweOyVNnUxgWhdPHD4OONHr3y3D+uT7kZn6GJx0C0f4bvQGCX5ENGbDqh/NSEplD+85kwQrhW9Qi3G+zZbrENHygQUVaHi6OC+JmsIvkLS6WFe013jGAJeP3+dt8aE+VRIECtA7RvpHGS+ONCUh7YBVs="

sudo: required

Expand Down
15 changes: 8 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ publishing {
}
}


github {
owner = 'albertlatacz'
repo = 'java-repl'
Expand Down Expand Up @@ -94,13 +95,13 @@ bintray {
//// passphrase = 'passphrase' //Optional. The passphrase for GPG signing'
// }
//
// //Optional configuration for Maven Central sync of the version
// mavenCentralSync {
// sync = false //[Default: true] Determines whether to sync the version to Maven Central.
// user = System.getenv("MAVEN_CENTRAL_USERNAME") //OSS user token: mandatory
// password = System.getenv("MAVEN_CENTRAL_PASSWORD") //OSS user password: mandatory
// close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
// }
//Optional configuration for Maven Central sync of the version
mavenCentralSync {
sync = true//[Default: true] Determines whether to sync the version to Maven Central.
user = System.getenv("MAVEN_CENTRAL_USER_TOKEN") //OSS user token: mandatory
password = System.getenv("MAVEN_CENTRAL_USER_TOKEN_PASSWORD") //OSS user password: mandatory
close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
}
}
}
}
Expand Down

0 comments on commit 91e84fd

Please sign in to comment.