Skip to content

Commit 36f2090

Browse files
authored
chore: upgrade to published version (#87)
1 parent bcec774 commit 36f2090

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

build.gradle.kts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,12 @@ buildscript {
1111
repositories {
1212
mavenCentral()
1313
}
14-
15-
dependencies {
16-
// Add our custom gradle plugin(s) to buildscript classpath (comes from github source)
17-
// NOTE: buildscript classpath for the root project is the parent classloader for the subprojects, we
18-
// only need to include it here, imports in subprojects will work automagically
19-
classpath("aws.sdk.kotlin:build-plugins") {
20-
version {
21-
require("0.3.1")
22-
}
23-
}
24-
}
2514
}
2615

2716
plugins {
2817
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
2918
alias(libs.plugins.kotlin.multiplatform) apply false
19+
alias(libs.plugins.aws.kotlin.repo.tools.kmp)
3020
}
3121

3222
allprojects {

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[versions]
22
kotlin-version = "1.9.21"
33

4+
aws-kotlin-repo-tools-version = "0.3.2"
5+
46
# libs
57
crt-java-version = "0.29.1"
68
coroutines-version = "1.7.3"
@@ -38,3 +40,4 @@ mockserver-netty = { module = "org.mock-server:mockserver-netty", version.ref =
3840

3941
[plugins]
4042
kotlin-multiplatform = {id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin-version" }
43+
aws-kotlin-repo-tools-kmp = { id = "aws.sdk.kotlin.kmp", version.ref = "aws-kotlin-repo-tools-version" }

settings.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ pluginManagement {
66
repositories {
77
mavenCentral()
88
gradlePluginPortal()
9-
}
10-
}
11-
12-
sourceControl {
13-
gitRepository(java.net.URI("https://github.com/awslabs/aws-kotlin-repo-tools.git")) {
14-
producesModule("aws.sdk.kotlin:build-plugins")
15-
producesModule("aws.sdk.kotlin:ktlint-rules")
9+
maven {
10+
name = "kotlinRepoTools"
11+
url = java.net.URI("https://d2gys1nrxnjnyg.cloudfront.net/releases")
12+
content {
13+
includeGroupByRegex("""aws\.sdk\.kotlin.*""")
14+
}
15+
}
1616
}
1717
}
1818

0 commit comments

Comments
 (0)