Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ subprojects { project ->
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(17)
}
failOnNoDiscoveredTests = false
jvmArgs '-Djdk.tracePinnedThreads=full'
}
}
Expand Down
7 changes: 5 additions & 2 deletions commercetools/commercetools-apachehttp-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ dependencies {
prefer "5.6.2"
}

api commons.io version commons.io_version
api 'commons-io:commons-io:2.22.0' version {
strictly '[2.8.0,)'
prefer '2.22.0'
}

implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
7 changes: 5 additions & 2 deletions commercetools/commercetools-async-http-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
dependencies {
api project(":rmf:rmf-java-base")
api "org.asynchttpclient:async-http-client:2.16.1"
api commons.io version commons.io_version
api 'commons-io:commons-io:2.22.0' version {
strictly '[2.8.0,)'
prefer '2.22.0'
}
api "io.netty:netty-codec:4.2.17.Final"
api "io.netty:netty-codec-http:4.2.15.Final"
api "io.netty:netty-codec-socks:4.2.17.Final"
api "io.netty:netty-handler-proxy:4.2.17.Final"
api "io.netty:netty-handler:4.2.17.Final"
implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
10 changes: 5 additions & 5 deletions commercetools/commercetools-graphql-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ artifacts {
dependencies {
api project(':commercetools:commercetools-sdk-java-api')
testImplementation project(':commercetools:commercetools-http-client')
implementation google.findbugs
implementation javax.validation
api graphql.java
api jackson_core.databind
api jackson_core.core
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
api 'com.graphql-java:graphql-java:19.11'
api 'tools.jackson.core:jackson-databind:3.1.5'
api 'tools.jackson.core:jackson-core:3.2.1'
//api jackson_core.datatype
api 'com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-shared-core:8.6.0'
constraints {
Expand Down
2 changes: 1 addition & 1 deletion commercetools/commercetools-importapi-utils/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
implementation(project(":commercetools:commercetools-sdk-java-api"))
implementation(project(":commercetools:commercetools-sdk-java-importapi"))
implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
5 changes: 4 additions & 1 deletion commercetools/commercetools-javanet-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
dependencies {
api project(":rmf:rmf-java-base")

api commons.io version commons.io_version
api 'commons-io:commons-io:2.22.0' version {
strictly '[2.8.0,)'
prefer '2.22.0'
}

}

Expand Down
2 changes: 1 addition & 1 deletion commercetools/commercetools-okhttp-client4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies {
}
implementation "com.squareup.okio:okio:3.18.1"

implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
2 changes: 1 addition & 1 deletion commercetools/commercetools-okhttp-client5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies {
}
implementation "com.squareup.okio:okio:3.18.1"

implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies {
api "io.projectreactor.netty:reactor-netty-http:1.3.6"
api "io.projectreactor.netty:reactor-netty-core:1.3.6"

implementation javax.validation
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
}
76 changes: 40 additions & 36 deletions commercetools/commercetools-sdk-java-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@
dependencies {
api project(':rmf:rmf-java-base')
api project(':commercetools:commercetools-money')
api jackson_core.annotations
api jackson_core.databind
implementation google.findbugs
implementation javax.validation
api slf4j.api
api commons.lang3
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
api 'tools.jackson.core:jackson-databind:3.1.5'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
api 'org.apache.commons:commons-lang3:3.20.0'
api 'org.slf4j:slf4j-api:2.0.18'
api 'org.apache.commons:commons-lang3:3.20.0'

testImplementation project(':commercetools:commercetools-http-client')
testImplementation project(':commercetools:commercetools-okhttp-client4')
testImplementation project(':commercetools:commercetools-apachehttp-client')
testImplementation commons.io version commons.io_version
testImplementation 'commons-io:commons-io:2.22.0' version {
strictly '[2.8.0,)'
prefer '2.22.0'
}

testImplementation google.gson
testImplementation 'com.google.code.gson:gson:2.14.0'
}

sourceSets.main.java.srcDirs += "src/main/java-generated"
Expand Down Expand Up @@ -62,9 +66,9 @@ projectDir.toPath().resolve("src/main/java-generated/com/commercetools/api/model
artifact modelTask
artifact javadocsTask
artifact modelSourcesTask
groupId group
artifactId project.name + "-models_$dirname"
version version
groupId = group
artifactId = project.name + "-models_$dirname"
version = version

pom {
name = project.name + "-models_$dirname"
Expand All @@ -76,7 +80,7 @@ projectDir.toPath().resolve("src/main/java-generated/com/commercetools/api/model
email = "jens.schulze@commercetools.com"
}
}
url = scmHttpsUrl
url = rootProject.ext.scmHttpsUrl
licenses {
license {
name = "The Apache Software License, Version 2.0"
Expand All @@ -85,9 +89,9 @@ projectDir.toPath().resolve("src/main/java-generated/com/commercetools/api/model
}
}
scm {
connection = "scm:git:$scmHttpsUrl"
developerConnection = "scm:git:$scmSshUrl"
url = "$scmProjectUrl"
connection = "scm:git:${rootProject.ext.scmHttpsUrl}"
developerConnection = "scm:git:${rootProject.ext.scmSshUrl}"
url = "${rootProject.ext.scmProjectUrl}"
}
}
pom.withXml {
Expand Down Expand Up @@ -194,9 +198,9 @@ publishing {
artifact modelsBaseJar
artifact javadocModelsBaseJar
artifact sourcesModelsBaseJar
groupId group
artifactId project.name + "-models-base"
version version
groupId = group
artifactId = project.name + "-models-base"
version = version

pom {
name = project.name + "-models_base"
Expand All @@ -208,7 +212,7 @@ publishing {
email = "jens.schulze@commercetools.com"
}
}
url = scmHttpsUrl
url = rootProject.ext.scmHttpsUrl
licenses {
license {
name = "The Apache Software License, Version 2.0"
Expand All @@ -217,9 +221,9 @@ publishing {
}
}
scm {
connection = "scm:git:$scmHttpsUrl"
developerConnection = "scm:git:$scmSshUrl"
url = "$scmProjectUrl"
connection = "scm:git:${rootProject.ext.scmHttpsUrl}"
developerConnection = "scm:git:${rootProject.ext.scmSshUrl}"
url = "${rootProject.ext.scmProjectUrl}"
}
}
pom.withXml {
Expand All @@ -235,9 +239,9 @@ publishing {
artifact baseJar
artifact javadocBaseJar
artifact sourcesBaseJar
groupId group
artifactId project.name + "-base"
version version
groupId = group
artifactId = project.name + "-base"
version = version

pom {
name = project.name + "-base"
Expand All @@ -249,7 +253,7 @@ publishing {
email = "jens.schulze@commercetools.com"
}
}
url = scmHttpsUrl
url = rootProject.ext.scmHttpsUrl
licenses {
license {
name = "The Apache Software License, Version 2.0"
Expand All @@ -258,9 +262,9 @@ publishing {
}
}
scm {
connection = "scm:git:$scmHttpsUrl"
developerConnection = "scm:git:$scmSshUrl"
url = "$scmProjectUrl"
connection = "scm:git:${rootProject.ext.scmHttpsUrl}"
developerConnection = "scm:git:${rootProject.ext.scmSshUrl}"
url = "${rootProject.ext.scmHttpsUrl}"
}
}
pom.withXml {
Expand Down Expand Up @@ -311,9 +315,9 @@ publishing {
artifact predicatesJar
artifact javadocPredicatesJar
artifact sourcesPredicatesJar
groupId group
artifactId project.name + "-predicates"
version version
groupId = group
artifactId = project.name + "-predicates"
version = version

pom {
name = project.name + "-predicates"
Expand All @@ -325,7 +329,7 @@ publishing {
email = "jens.schulze@commercetools.com"
}
}
url = scmHttpsUrl
url = rootProject.ext.scmHttpsUrl
licenses {
license {
name = "The Apache Software License, Version 2.0"
Expand All @@ -334,9 +338,9 @@ publishing {
}
}
scm {
connection = "scm:git:$scmHttpsUrl"
developerConnection = "scm:git:$scmSshUrl"
url = "$scmProjectUrl"
connection = "scm:git:${rootProject.ext.scmHttpsUrl}"
developerConnection = "scm:git:${rootProject.ext.scmSshUrl}"
url = "${rootProject.ext.scmProjectUrl}"
}
}
pom.withXml {
Expand Down
10 changes: 5 additions & 5 deletions commercetools/commercetools-sdk-java-checkout/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

dependencies {
api project(':rmf:rmf-java-base')
api jackson_core.annotations
api jackson_core.databind
implementation google.findbugs
implementation javax.validation
api commons.lang3
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
api 'tools.jackson.core:jackson-databind:3.1.5'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
api 'org.apache.commons:commons-lang3:3.20.0'

integrationTestImplementation project(':commercetools:commercetools-http-client')
integrationTestImplementation project(':commercetools:commercetools-sdk-java-api')
Expand Down
10 changes: 5 additions & 5 deletions commercetools/commercetools-sdk-java-history/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

dependencies {
api project(':rmf:rmf-java-base')
api jackson_core.annotations
api jackson_core.databind
implementation google.findbugs
implementation javax.validation
api commons.lang3
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
api 'tools.jackson.core:jackson-databind:3.1.5'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
api 'org.apache.commons:commons-lang3:3.20.0'

integrationTestImplementation project(':commercetools:commercetools-http-client')
}
Expand Down
10 changes: 5 additions & 5 deletions commercetools/commercetools-sdk-java-importapi/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

dependencies {
api project(':rmf:rmf-java-base')
api jackson_core.annotations
api jackson_core.databind
implementation google.findbugs
implementation javax.validation
api commons.lang3
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
api 'tools.jackson.core:jackson-databind:3.1.5'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'jakarta.validation:jakarta.validation-api:3.1.1'
api 'org.apache.commons:commons-lang3:3.20.0'

integrationTestImplementation project(':commercetools:commercetools-http-client')
integrationTestImplementation project(':commercetools:commercetools-sdk-java-api')
Expand Down
5 changes: 4 additions & 1 deletion commercetools/internal-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ dependencies {
testImplementation 'com.commercetools.sdk.jvm.core:commercetools-java-client:2.16.0'
testImplementation project(":commercetools:commercetools-javanet-client")

testImplementation commons.io version commons.io_version
testImplementation 'commons-io:commons-io:2.22.0' version {
strictly '[2.8.0,)'
prefer '2.22.0'
}

}

Expand Down
Loading
Loading