Skip to content

Commit

Permalink
Revert arrow 2.0.0 -> 1.2.4. Dependabot ignore arrow 2.x inntil vider…
Browse files Browse the repository at this point in the history
…e (krasjer i noen apper). Kjører tester før dependabot auto-merge.
  • Loading branch information
anders-nom committed Dec 16, 2024
1 parent e3e3e86 commit a397a1b
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ updates:
open-pull-requests-limit: 1
assignees:
- "@navikt/tpts"
# arrow 2.0 brekker integrasjon med jackson i mange apper
# TODO: fjern ignore når dette er fikset:
# https://github.com/arrow-kt/arrow-integrations/issues/126
# https://youtrack.jetbrains.com/issue/KT-72084/Reflection-ISE-This-is-should-be-simple-type-for-inline-class-with-delegated-Java-interface
ignore:
- dependency-name: "io.arrow-kt:arrow-core"
versions: ["2.x"]
- package-ecosystem: github-actions
directory: "/"
schedule:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tests
run: ./gradlew test
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
Expand Down
2 changes: 1 addition & 1 deletion auth-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
implementation(project(":json"))
implementation(project(":logging"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$kotlinxCoroutinesVersion")

// Caching
Expand Down
2 changes: 1 addition & 1 deletion auth-ktor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
api(project(":ktor-common"))
api(project(":logging"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")

// Vi ønsker at konsumentene bruker sine egne versjoner av ktor
compileOnly("io.ktor:ktor-server-core:$ktorVersion")
Expand Down
2 changes: 1 addition & 1 deletion auth-test-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
api(project(":test-common"))
api(project(":auth-core"))

api("io.arrow-kt:arrow-core:2.0.0")
api("io.arrow-kt:arrow-core:1.2.4")

// Auth
api("com.auth0:java-jwt:4.4.0")
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation(project(":periodisering"))
implementation(project(":logging"))
implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
implementation("com.aallam.ulid:ulid-kotlin:1.3.0")

Expand Down
2 changes: 1 addition & 1 deletion jobber/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies {
implementation(project(":logging"))
implementation(project(":json"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("org.jetbrains.kotlinx:atomicfu:0.26.1")

testImplementation(project(":test-common"))
Expand Down
2 changes: 1 addition & 1 deletion ktor-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
implementation(project(":logging"))
implementation(project(":json"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")

// Vi ønsker at konsumentene bruker sine egne versjoner av ktor
compileOnly("io.ktor:ktor-server-core:$ktorVersion")
Expand Down
2 changes: 1 addition & 1 deletion ktor-test-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
implementation(project(":auth-ktor"))
implementation(project(":auth-test-core"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")

// Vi ønsker at konsumentene bruker sine egne versjoner av ktor
compileOnly("io.ktor:ktor-server-core:$ktorVersion")
Expand Down
2 changes: 1 addition & 1 deletion persistering/persistering-domene/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
implementation(project(":logging"))
implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")

testImplementation(project(":test-common"))
Expand Down
2 changes: 1 addition & 1 deletion persistering/persistering-infrastruktur/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
implementation(project(":logging"))
implementation(project(":json"))
implementation(project(":persistering:persistering-domene"))
implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
implementation("com.github.seratch:kotliquery:1.9.0")

Expand Down
2 changes: 1 addition & 1 deletion personklient/personklient-domene/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation(project(":common"))
implementation(project(":person-dtos"))
implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
}

configurations.all {
Expand Down
2 changes: 1 addition & 1 deletion personklient/personklient-infrastruktur/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
implementation(project(":common"))
implementation(project(":personklient:personklient-domene"))

implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")

Expand Down
2 changes: 1 addition & 1 deletion test-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
api(project(":common"))
api(project(":persistering:persistering-domene"))

api("io.arrow-kt:arrow-core:2.0.0")
api("io.arrow-kt:arrow-core:1.2.4")

api("io.kotest:kotest-assertions-core:$kotestVersion")
api("io.kotest:kotest-assertions-json:$kotestVersion")
Expand Down
2 changes: 1 addition & 1 deletion tiltak-dtos/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
implementation("io.arrow-kt:arrow-core:2.0.0")
implementation("io.arrow-kt:arrow-core:1.2.4")
}

configurations.all {
Expand Down

0 comments on commit a397a1b

Please sign in to comment.