Skip to content

Commit 40ec5e6

Browse files
authored
feat: jreleaser check workflow (#1398)
1 parent 8d1c17f commit 40ec5e6

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/jreleaser.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# TODO: Delete this workflow when we migrate off JReleaser
2+
3+
name: JReleaser check
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
jreleaser-check:
9+
permissions: {}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: JReleaser check
13+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/jreleaser@main

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ buildscript {
2222
*/
2323
classpath(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.15.3"))
2424
}
25+
26+
configurations.classpath {
27+
resolutionStrategy {
28+
/*
29+
Version bumping the SDK to 1.5.x in repo tools broke our buildscript classpath:
30+
java.lang.NoSuchMethodError: 'void kotlinx.coroutines.CancellableContinuation.resume(java.lang.Object, kotlin.jvm.functions.Function3)
31+
32+
FIXME: Figure out what broke our buildscipt classpath, this is a temporary fix
33+
*/
34+
force("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.14")
35+
}
36+
}
2537
}
2638

2739
plugins {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
kotlin-version = "2.2.0"
33
dokka-version = "2.0.0"
44

5-
aws-kotlin-repo-tools-version = "0.4.41"
5+
aws-kotlin-repo-tools-version = "0.4.44"
66

77
# libs
88
coroutines-version = "1.10.2"

0 commit comments

Comments
 (0)