Skip to content

Commit

Permalink
fix: httpclient5 and org.json need to be defined as api deps in the d…
Browse files Browse the repository at this point in the history
…ependency constraints #1639
  • Loading branch information
rholshausen committed Nov 22, 2022
1 parent bb42448 commit 362924b
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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')
}

Expand Down

0 comments on commit 362924b

Please sign in to comment.