Ensures that jgit stuff is in the gradle pom

This commit is contained in:
Marcin Grzejszczak
2021-08-20 11:36:03 +02:00
parent 6320fbd6b0
commit 5a0d55d49d

View File

@@ -20,6 +20,9 @@ ext {
JavaVersion javaVer = JavaVersion.current()
println "Current Java version equal to [${javaVer}]"
javaVersionNumber = javaVer.toString()
jgitVersion = "5.12.0.202106070339-r"
jschVersion = "0.0.9"
}
project.version = findProperty('verifierVersion')
@@ -59,11 +62,14 @@ dependencies {
// Need to set the versions manually cause otherwise Gradle will not publish a proper pom
implementation "org.apache.maven.resolver:maven-resolver-api:1.4.1"
implementation "org.eclipse.jgit:org.eclipse.jgit:5.12.0.202106070339-r"
implementation "com.jcraft:jsch.agentproxy.jsch:0.0.9"
implementation "org.eclipse.jgit:org.eclipse.jgit:${jgitVersion}"
implementation "org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:${jgitVersion}"
implementation "com.jcraft:jsch.agentproxy.sshagent:${jschVersion}"
implementation "com.jcraft:jsch.agentproxy.jsch:${jschVersion}"
implementation "com.jcraft:jsch.agentproxy.usocket-jna:${jschVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:2.11.4"
implementation "org.springframework:spring-core:5.3.6"
implementation "org.springframework:spring-core:5.3.9"
implementation("org.springframework.cloud:spring-cloud-contract-shade:${project.version}")
api("org.springframework.cloud:spring-cloud-contract-stub-runner:${project.version}") {
exclude(group: '*')