diff --git a/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle b/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle index 12a2ba124..28458a792 100644 --- a/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle +++ b/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle @@ -28,19 +28,20 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { dependencies { constraints { // Define dependency versions as constraints + api 'org.apache.httpcomponents.client5:httpclient5:5.1.3' + api 'org.apache.httpcomponents.client5:httpclient5-fluent:5.1.3' + api 'org.json:json:20220924' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' implementation 'org.apache.commons:commons-lang3:3.12.0' implementation 'org.apache.commons:commons-text:1.10.0' implementation 'org.apache.commons:commons-collections4:4.4' implementation 'org.apache.tika:tika-core:1.28.5' - implementation 'org.apache.httpcomponents.client5:httpclient5:5.1.1' - implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.1.1' implementation 'com.google.guava:guava:30.1.1-jre' implementation 'org.slf4j:slf4j-api:1.7.32' implementation 'io.ktor:ktor-http-jvm:1.6.8' implementation 'io.ktor:ktor-server-netty:1.6.8' implementation 'io.ktor:ktor-network-tls-certificates:1.6.8' - implementation 'org.json:json:20220924' implementation 'io.netty:netty-handler:4.1.84.Final' implementation 'org.apache.groovy:groovy:4.0.6' implementation 'org.apache.groovy:groovy-json:4.0.6' @@ -65,9 +66,6 @@ dependencies { implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' implementation 'org.jetbrains.kotlin:kotlin-reflect' - // Align versions of all Kotlin components - implementation platform('org.jetbrains.kotlin:kotlin-bom') - codenarc('org.codenarc:CodeNarc:3.1.0-groovy-4.0') }