Skip to content

Commit

Permalink
chore: upgrade to published version (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd authored Jan 3, 2024
1 parent bcec774 commit 36f2090
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
12 changes: 1 addition & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ buildscript {
repositories {
mavenCentral()
}

dependencies {
// Add our custom gradle plugin(s) to buildscript classpath (comes from github source)
// NOTE: buildscript classpath for the root project is the parent classloader for the subprojects, we
// only need to include it here, imports in subprojects will work automagically
classpath("aws.sdk.kotlin:build-plugins") {
version {
require("0.3.1")
}
}
}
}

plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.aws.kotlin.repo.tools.kmp)
}

allprojects {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[versions]
kotlin-version = "1.9.21"

aws-kotlin-repo-tools-version = "0.3.2"

# libs
crt-java-version = "0.29.1"
coroutines-version = "1.7.3"
Expand Down Expand Up @@ -38,3 +40,4 @@ mockserver-netty = { module = "org.mock-server:mockserver-netty", version.ref =

[plugins]
kotlin-multiplatform = {id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin-version" }
aws-kotlin-repo-tools-kmp = { id = "aws.sdk.kotlin.kmp", version.ref = "aws-kotlin-repo-tools-version" }
14 changes: 7 additions & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}

sourceControl {
gitRepository(java.net.URI("https://github.com/awslabs/aws-kotlin-repo-tools.git")) {
producesModule("aws.sdk.kotlin:build-plugins")
producesModule("aws.sdk.kotlin:ktlint-rules")
maven {
name = "kotlinRepoTools"
url = java.net.URI("https://d2gys1nrxnjnyg.cloudfront.net/releases")
content {
includeGroupByRegex("""aws\.sdk\.kotlin.*""")
}
}
}
}

Expand Down

0 comments on commit 36f2090

Please sign in to comment.