Added scripts and fixed upload archives of snapshots
This commit is contained in:
3
build.sh
Executable file
3
build.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
./gradlew clean build --parallel
|
||||||
3
deploy.sh
Executable file
3
deploy.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
./gradlew clean build install && ./scripts/runTests.sh && ./gradlew uploadArchives -x test
|
||||||
@@ -38,7 +38,9 @@ afterEvaluate {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
// POM signature
|
// POM signature
|
||||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
if (isReleaseVersion) {
|
||||||
|
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
||||||
|
}
|
||||||
// Target repository
|
// Target repository
|
||||||
repository(url: repoUrl) {
|
repository(url: repoUrl) {
|
||||||
authentication(userName: repoUser, password: repoPass)
|
authentication(userName: repoUser, password: repoPass)
|
||||||
|
|||||||
Reference in New Issue
Block a user