Skip to content

Commit

Permalink
Use library plugins for okhttp, jackson (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
sghill authored Jun 17, 2024
1 parent 7757e2f commit 57d7699
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ val gradlePluginJpi: Configuration by configurations.creating { isCanBeConsumed
dependencies {
api(platform("io.jenkins.tools.bom:bom-${coreBaseVersion}.x:${coreBomVersion}"))

implementation("org.jenkins-ci.plugins:jackson2-api")
implementation("org.jenkins-ci.plugins:structs")
implementation("org.jenkins-ci.plugins.workflow:workflow-api")
implementation("org.jenkins-ci.plugins.workflow:workflow-cps")
implementation("org.jenkins-ci.plugins.workflow:workflow-job")
implementation("org.jenkins-ci.plugins.workflow:workflow-basic-steps")
implementation("org.jenkins-ci.plugins.workflow:workflow-durable-task-step")
implementation("org.jenkins-ci.plugins.workflow:workflow-step-api")
implementation("io.jenkins.plugins:okhttp-api")

"optionalPluginImplementation"("org.jenkins-ci.main:maven-plugin:3.14") {
because("Lowest version that works with our dependencies")
Expand All @@ -114,10 +116,6 @@ dependencies {
exclude(group = "commons-logging", module = "commons-logging")
}

implementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")

implementation("com.squareup.okhttp3:okhttp:4.12.0")

add(includedLibs.name, "com.gradle:develocity-maven-extension:${develocityMavenExtensionVersion}")
add(includedLibs.name, "com.gradle:common-custom-user-data-maven-extension:${commonCustomUserDataMavenExtensionVersion}")
add(includedLibs.name, project(path = ":configuration-maven-extension", configuration = "mvnExtension"))
Expand Down

0 comments on commit 57d7699

Please sign in to comment.