Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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