Skip to content

Commit 02a85e2

Browse files
Fixed Gradle setup to have all included
Signed-off-by: Marcin Grzejszczak <[email protected]>
1 parent addaa7b commit 02a85e2

File tree

1 file changed

+4
-12
lines changed
  • spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin

1 file changed

+4
-12
lines changed

spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin/build.gradle

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,13 @@ dependencies {
5656
// provide version alignment with project
5757
implementation(platform("org.springframework.cloud:spring-cloud-contract-tools:${project.version}"))
5858

59-
// Need to set the versions manually cause otherwise Gradle will not publish a proper pom
60-
implementation "org.apache.maven.resolver:maven-resolver-api:${mavenResolverVersion}"
61-
implementation "org.eclipse.jgit:org.eclipse.jgit:${jgitVersion}"
62-
implementation "org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:${jgitVersion}"
63-
implementation "com.jcraft:jsch.agentproxy.jsch:${jschVersion}"
64-
implementation "com.jcraft:jsch.agentproxy.sshagent:${jschVersion}"
65-
implementation "com.jcraft:jsch.agentproxy.usocket-jna:${jschVersion}"
66-
implementation "tools.jackson.core:jackson-databind:${jacksonDatabindVersion}"
67-
68-
implementation "org.springframework:spring-core:${springVersion}"
6959
api("org.springframework.cloud:spring-cloud-contract-stub-runner:${project.version}") {
70-
exclude(group: '*')
60+
exclude(group: 'org.apache.groovy')
61+
exclude(group: 'org.jetbrains.kotlin')
7162
}
7263
api("org.springframework.cloud:spring-cloud-contract-verifier:${project.version}") {
73-
exclude(group: '*')
64+
exclude(group: 'org.apache.groovy')
65+
exclude(group: 'org.jetbrains.kotlin')
7466
}
7567

7668
testImplementation "org.springframework.boot:spring-boot-starter-test"

0 commit comments

Comments
 (0)