-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
163 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.gpg | ||
|
||
.gradle/ | ||
.* | ||
!.gitignore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
set -e # Exit with nonzero exit code if anything fails | ||
|
||
./gradlew clean build jacocoTestReport coveralls \ | ||
--exclude-task signMavenJavaPublication \ | ||
--exclude-task signArchives |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -e # Exit with nonzero exit code if anything fails | ||
|
||
if [[ "$TRAVIS_TAG" =~ ^[0-9.]+ ]] ; then | ||
./gradlew publishToSonatype \ | ||
--exclude-task :restdocs-server:publishToSonatype \ | ||
--info \ | ||
-Dorg.gradle.project.sonatypeUsername="${SONATYPE_USERNAME}" \ | ||
-Dorg.gradle.project.sonatypePassword="${SONATYPE_PASSWORD}" \ | ||
-Dorg.gradle.project.signing.keyId="${SIGNING_KEY_ID}" \ | ||
-Dorg.gradle.project.signing.password="${SIGNING_PASSWORD}" \ | ||
-Dorg.gradle.project.signing.secretKeyRingFile="${SIGNING_KEYRING_FILE}" | ||
fi |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,15 @@ buildscript { | |
} | ||
|
||
plugins { | ||
id 'eclipse' | ||
id 'java' | ||
id 'maven' | ||
id 'maven-publish' | ||
id 'eclipse' | ||
id 'signing' | ||
} | ||
|
||
apply plugin: 'org.springframework.boot' | ||
|
||
apply plugin: 'com.jfrog.bintray' | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
@@ -47,28 +46,44 @@ publishing { | |
from components.java | ||
artifactId 'wiremock-spring-boot-starter' | ||
groupId = project.group | ||
|
||
artifact sourceJar { | ||
classifier 'sources' | ||
|
||
pom { | ||
name = 'WireMock Spring Boot Starter' | ||
description = 'A Spring Boot Starter which adds a WireMockServer to your client\'s ApplicationContext for integration testing.' | ||
url = 'https://github.com/ePages-de/restdocs-wiremock' | ||
licenses { | ||
license { | ||
name = 'The Apache License, Version 2.0' | ||
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = 'ePages' | ||
name = 'ePages Devs' | ||
email = '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection = 'scm:git:git://github.com:ePages-de/restdocs-wiremock.git' | ||
developerConnection = 'scm:git:ssh://github.com:ePages-de/restdocs-wiremock.git' | ||
url = 'https://github.com/ePages-de/restdocs-wiremock' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
bintray { | ||
user = project.findProperty('bintrayUser') ?: System.getenv('BINTRAY_USER') | ||
key = project.findProperty('bintrayApiKey') ?: System.getenv('BINTRAY_API_KEY') | ||
publications = ['mavenJava','sourceJar'] | ||
publish = true | ||
pkg { | ||
repo = "maven" | ||
name = 'wiremock-spring-boot-starter' | ||
userOrg = 'epages' | ||
websiteUrl = 'https://github.com/ePages-de/restdocs-wiremock' | ||
issueTrackerUrl = 'https://github.com/ePages-de/restdocs-wiremock/issues' | ||
vcsUrl = 'https://github.com/ePages-de/restdocs-wiremock.git' | ||
githubRepo = 'ePages-de/restdocs-wiremock' | ||
githubReleaseNotesFile = 'README.md' | ||
licenses = ['Apache-2.0'] | ||
} | ||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
javadoc { | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
signing { | ||
sign publishing.publications.mavenJava | ||
sign configurations.archives | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
plugins { | ||
id 'com.github.kt3k.coveralls' version '2.8.2' | ||
id 'jacoco' | ||
id 'java' | ||
id 'maven' | ||
id 'maven-publish' | ||
id 'jacoco' | ||
id 'com.github.kt3k.coveralls' version '2.8.2' | ||
id 'signing' | ||
} | ||
|
||
apply plugin: 'com.jfrog.bintray' | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
@@ -49,28 +48,43 @@ publishing { | |
artifactId 'restdocs-wiremock' | ||
groupId = project.group | ||
|
||
artifact sourceJar { | ||
classifier 'sources' | ||
pom { | ||
name = 'REST Docs WireMock' | ||
description = 'Spring REST Docs WireMock Integration' | ||
url = 'https://github.com/ePages-de/restdocs-wiremock' | ||
licenses { | ||
license { | ||
name = 'The Apache License, Version 2.0' | ||
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = 'ePages' | ||
name = 'ePages Devs' | ||
email = '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection = 'scm:git:git://github.com:ePages-de/restdocs-wiremock.git' | ||
developerConnection = 'scm:git:ssh://github.com:ePages-de/restdocs-wiremock.git' | ||
url = 'https://github.com/ePages-de/restdocs-wiremock' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
|
||
bintray { | ||
user = project.findProperty('bintrayUser') ?: System.getenv('BINTRAY_USER') | ||
key = project.findProperty('bintrayApiKey') ?: System.getenv('BINTRAY_API_KEY') | ||
publications = ['mavenJava','sourceJar'] | ||
publish = true | ||
pkg { | ||
repo = "maven" | ||
name = 'restdocs-wiremock' | ||
userOrg = 'epages' | ||
websiteUrl = 'https://github.com/ePages-de/restdocs-wiremock' | ||
issueTrackerUrl = 'https://github.com/ePages-de/restdocs-wiremock/issues' | ||
vcsUrl = 'https://github.com/ePages-de/restdocs-wiremock.git' | ||
githubRepo = 'ePages-de/restdocs-wiremock' | ||
githubReleaseNotesFile = 'README.md' | ||
licenses = ['Apache-2.0'] | ||
} | ||
javadoc { | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
signing { | ||
sign publishing.publications.mavenJava | ||
sign configurations.archives | ||
} |