diff --git a/.github/workflows/jreleaser.yml b/.github/workflows/jreleaser.yml new file mode 100644 index 000000000..391e452d5 --- /dev/null +++ b/.github/workflows/jreleaser.yml @@ -0,0 +1,13 @@ +# TODO: Delete this workflow when we migrate off JReleaser + +name: JReleaser check +on: + pull_request: + +jobs: + jreleaser-check: + permissions: {} + runs-on: ubuntu-latest + steps: + - name: JReleaser check + uses: awslabs/aws-kotlin-repo-tools/.github/actions/jreleaser@main diff --git a/build.gradle.kts b/build.gradle.kts index 170dd2448..2a900f2cd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,6 +22,18 @@ buildscript { */ classpath(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.15.3")) } + + configurations.classpath { + resolutionStrategy { + /* + Version bumping the SDK to 1.5.x in repo tools broke our buildscript classpath: + java.lang.NoSuchMethodError: 'void kotlinx.coroutines.CancellableContinuation.resume(java.lang.Object, kotlin.jvm.functions.Function3) + + FIXME: Figure out what broke our buildscipt classpath, this is a temporary fix + */ + force("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.14") + } + } } plugins { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 362816330..d3c4d7f04 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin-version = "2.2.0" dokka-version = "2.0.0" -aws-kotlin-repo-tools-version = "0.4.41" +aws-kotlin-repo-tools-version = "0.4.44" # libs coroutines-version = "1.10.2"