Skip to content

Commit dcfdfc6

Browse files
committed
fix: classpath in standalone artifact
1 parent 6730b44 commit dcfdfc6

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

build.gradle

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "se.bjurr.gradle.bundle-jar" version "1.5.0"
2+
id "se.bjurr.gradle.bundle-jar" version "1.5.1"
33
}
44

55
allprojects {
@@ -63,28 +63,11 @@ project("wiremock-spring-boot", {
6363
})
6464

6565
project("wiremock-spring-boot-standalone", {
66-
apply plugin: 'se.bjurr.gradle.shadow'
67-
68-
shadowJar {
69-
relocate "org.wiremock", 'wiremock.org.wiremock'
70-
relocate "org", 'wiremock.org'
71-
relocate "com.google", 'wiremock.com'
72-
relocate "net.minidev", 'wiremock.net'
73-
relocate "jakarta.servlet", "wiremock.jakarta"
74-
relocate "joptsimple", "wiremock.joptsimple"
75-
exclude 'joptsimple/HelpFormatterMessages.properties'
76-
77-
mergeServiceFiles()
78-
79-
exclude 'META-INF/maven/**'
80-
exclude 'META-INF/versions/17/**'
81-
exclude 'META-INF/versions/21/**'
82-
exclude 'META-INF/versions/22/**'
83-
exclude 'module-info.class'
84-
exclude 'handlebars-*.js'
85-
}
86-
8766
dependencies {
88-
implementation project(":wiremock-spring-boot")
67+
api(project(":wiremock-spring-boot")) {
68+
exclude group: 'org.wiremock'
69+
exclude group: 'org.eclipse.jetty'
70+
}
71+
api "org.wiremock:wiremock-standalone:3.13.1"
8972
}
9073
})

0 commit comments

Comments
 (0)