Skip to content

Commit

Permalink
Merge pull request #17 from dirkbolte/update-to-wiremock-3.6
Browse files Browse the repository at this point in the history
bump wiremock version to 3.6.0
  • Loading branch information
oleg-nenashev authored May 30, 2024
2 parents e12da45 + 0eb14c5 commit b0aa073
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ Features:
- Gradle 8.x
- Java 11 or 17

## Wiremock dependency

This extension has a bundled wiremock dependency. Depending on the wiremock features you're using
in your plugin, this plugin needs to be updated accordingly:

| Gradle Convention plugin version | Wiremock version |
|----------------------------------|------------------|
| 0.3.0+ | 3.6.0 |
| 0.1.0+ | 3.3.1 |


## Usage

### Basic use
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tasks {

// default versions ---------------------------------------------------

val wiremockVersion = "3.3.1"
val wiremockVersion = "3.6.0"

val basePackagePath = "org/wiremock/tools/gradle/plugins"
val processResources by tasks.existing(ProcessResources::class)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.2.0
version=0.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ wrapper {

project.ext {
versions = [
wiremock : '3.3.1',
wiremock : '3.6.0',
junit : '5.10.1',
assertj : '3.24.2',
restAssured: '5.3.2',
Expand Down Expand Up @@ -85,7 +85,7 @@ signing {
// Docs: https://github.com/wiremock/community/blob/main/infra/maven-central.md
def isPublishTask = gradle.taskGraph.hasTask("uploadArchives") || gradle.taskGraph.hasTask("publish")
logger.info("Checking signing requirements: Version: " + version.toString() + ", Publish: " + isPublishTask)

required {
!version.toString().contains("SNAPSHOT") && isPublishTask
}
Expand Down

0 comments on commit b0aa073

Please sign in to comment.