Skip to content

Commit

Permalink
Add Jackson dependency (#94)
Browse files Browse the repository at this point in the history
Other dependencies use different Jackson versions if this library is
used in test scope
  • Loading branch information
philipp94831 authored May 3, 2024
1 parent 336f2ea commit 4a9dc8c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-and-publish:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.42.0
uses: bakdata/ci-templates/.github/workflows/java-gradle-library.yaml@1.43.0
with:
java-version: 17
secrets:
Expand All @@ -19,5 +19,4 @@ jobs:
signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
ossrh-password: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}
github-username: ${{ secrets.GH_USERNAME }}
github-token: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
java-gradle-release:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.42.0
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.43.0
with:
java-version: 17
release-type: "${{ inputs.release-type }}"
Expand Down
19 changes: 3 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
plugins {
// release
id("net.researchgate.release") version "3.0.2"
id("com.bakdata.sonar") version "1.1.17"
id("com.bakdata.sonatype") version "1.2.2"
id("org.hildan.github.changelog") version "2.2.0"
id("com.bakdata.release") version "1.4.0"
id("com.bakdata.sonar") version "1.4.0"
id("com.bakdata.sonatype") version "1.4.0"
id("io.freefair.lombok") version "8.4" apply false
}

Expand Down Expand Up @@ -42,12 +41,6 @@ configure<com.bakdata.gradle.SonatypeSettings> {
}
}

configure<org.hildan.github.changelog.plugin.GitHubChangelogExtension> {
githubUser = "bakdata"
futureVersionTag = findProperty("changelog.releaseVersion")?.toString()
sinceTag = findProperty("changelog.sinceTag")?.toString()
}

subprojects {
apply(plugin = "java-library")
apply(plugin = "io.freefair.lombok")
Expand Down Expand Up @@ -75,9 +68,3 @@ subprojects {
"testImplementation"(group = "org.assertj", name = "assertj-core", version = "3.25.3")
}
}

release {
git {
requireBranch.set("master")
}
}
2 changes: 2 additions & 0 deletions schema-registry-mock/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies {
"api"(group = "io.confluent", name = "kafka-streams-avro-serde", version = confluentVersion)

implementation(group = "org.wiremock", name = "wiremock", version = "3.4.2")
// required because other dependencies use different Jackson versions if this library is used in test scope
api(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.15.3")

val junit5Version: String by project
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-api", version = junit5Version)
Expand Down

0 comments on commit 4a9dc8c

Please sign in to comment.