1
- buildscript {
2
- repositories {
3
- gradlePluginPortal()
4
- mavenCentral()
5
- mavenLocal()
6
- }
7
- dependencies {
8
- classpath " se.bjurr.gradle.java-convention:se.bjurr.gradle.java-convention.gradle.plugin:0.+"
9
- classpath " org.wiremock.tools.gradle:gradle-wiremock-extension-plugins:0.4.0"
10
- }
1
+ plugins {
2
+ id " se.bjurr.gradle.java-convention"
3
+ id " org.wiremock.tools.gradle.publishing"
4
+ id " org.wiremock.tools.gradle.java"
5
+ id " project-report"
11
6
}
12
7
13
- apply plugin : " project-report"
14
- apply plugin : " se.bjurr.gradle.java-convention"
15
-
16
- // Or else it will be 11 in wiremock-extension-convention
17
8
sourceCompatibility = 17
18
9
targetCompatibility = 17
19
- apply plugin : " org.wiremock.tools.gradle.wiremock-extension-convention"
20
-
21
10
22
11
group ' org.wiremock.integrations'
23
12
28
17
}
29
18
}
30
19
31
- // Because older version is set in wiremock-extension-convention
32
- def wiremockVersion = " 3.13.0"
33
-
34
20
configurations {
35
21
all* . exclude group : ' org.eclipse.jetty' , module : ' jetty-servlet'
36
22
all* . exclude group : ' org.eclipse.jetty' , module : ' jetty-servlets'
@@ -40,14 +26,13 @@ configurations {
40
26
41
27
dependencies {
42
28
implementation platform(" org.eclipse.jetty:jetty-bom:12.0.15" )
43
- api " org.wiremock:wiremock-jetty12:${ wiremockVersion} "
44
-
29
+ api " org.wiremock:wiremock-jetty12:3.13.0"
45
30
api " org.springframework.boot:spring-boot-test:3.4.1"
46
31
api " org.springframework:spring-test:6.1.13"
47
32
api " org.slf4j:slf4j-api:2.0.16"
48
33
api ' org.junit.jupiter:junit-jupiter-api:5.11.2'
49
34
50
- testImplementation " org.wiremock:wiremock-jetty12:${ wiremockVersion } "
35
+ testImplementation " org.wiremock:wiremock-jetty12:3.13.0 "
51
36
testImplementation " org.springframework.boot:spring-boot-starter-test:3.4.1"
52
37
testImplementation ' org.assertj:assertj-core:3.26.3'
53
38
testImplementation platform(' org.junit:junit-bom:5.11.2' )
@@ -68,10 +53,3 @@ dependencies {
68
53
}
69
54
}
70
55
}
71
-
72
- // Not using shadowJar, but currently not possible to disable in wiremock-extension-convention
73
- shadowJar {
74
- mergeServiceFiles()
75
-
76
- exclude ' **/*'
77
- }
0 commit comments