File tree Expand file tree Collapse file tree 4 files changed +21
-25
lines changed Expand file tree Collapse file tree 4 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 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
@@ -41,7 +30,6 @@ configurations {
41
30
dependencies {
42
31
implementation platform(" org.eclipse.jetty:jetty-bom:12.0.15" )
43
32
api " org.wiremock:wiremock-jetty12:${ wiremockVersion} "
44
-
45
33
api " org.springframework.boot:spring-boot-test:3.4.1"
46
34
api " org.springframework:spring-test:6.1.13"
47
35
api " org.slf4j:slf4j-api:2.0.16"
@@ -68,10 +56,3 @@ dependencies {
68
56
}
69
57
}
70
58
}
71
-
72
- // Not using shadowJar, but currently not possible to disable in wiremock-extension-convention
73
- shadowJar {
74
- mergeServiceFiles()
75
-
76
- exclude ' **/*'
77
- }
Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ githubRepo=wiremock-spring-boot
8
8
developer.id =tomasbjerre
9
9
developer.name =Tomas Bjerre
10
10
11
+ useShadowJar =false
Original file line number Diff line number Diff line change
1
+ pluginManagement {
2
+ repositories {
3
+ mavenLocal()
4
+ mavenCentral()
5
+ gradlePluginPortal()
6
+ }
7
+ }
8
+
9
+ plugins {
10
+ id " se.bjurr.gradle.java-convention" version " 0.+" apply false
11
+ id " org.wiremock.tools.gradle.publishing" version " latest-SNAPSHOT" apply false
12
+ id " org.wiremock.tools.gradle.java" version " latest-SNAPSHOT" apply false
13
+ }
14
+
1
15
rootProject. name = ' wiremock-spring-boot'
Original file line number Diff line number Diff line change 1
1
package test ;
2
2
3
3
import static org .assertj .core .api .Assertions .assertThat ;
4
- import static org .junit .Assert .assertThrows ;
4
+ import static org .junit .jupiter . api . Assertions .assertThrows ;
5
5
6
6
import org .junit .jupiter .api .Test ;
7
7
import org .springframework .test .context .ContextCustomizer ;
You can’t perform that action at this time.
0 commit comments