@@ -11,18 +11,6 @@ buildscript {
1111 // only need to add e.g. atomic-fu and build-plugins here for imports and plugins to be available in subprojects.
1212 dependencies {
1313 classpath(libs.kotlinx.atomicfu.plugin)
14-
15- // Add our custom gradle plugin(s) to buildscript classpath (comes from github source)
16- // NOTE: Anything included in our build plugin is added to the classpath for all projects,
17- // this includes bundled plugins and their versions. As an example the smithy gradle base
18- // plugin is used by the smithybuild plugin which means you can't apply it with a different
19- // version directly because it's already on the classpath.
20- // FIXME - if we publish this plugin it would fix a lot of things
21- classpath(" aws.sdk.kotlin:build-plugins" ) {
22- version {
23- require(" 0.3.2" )
24- }
25- }
2614 }
2715}
2816
@@ -33,10 +21,16 @@ plugins {
3321 // since build-plugins also has <some> version in its dependency closure
3422 alias(libs.plugins.kotlin.multiplatform) apply false
3523 alias(libs.plugins.kotlin.jvm) apply false
36- }
3724
38- // configures (KMP) subprojects with our own KMP conventions and some default dependencies
39- apply (plugin = " aws.sdk.kotlin.kmp" )
25+ // Add our custom gradle plugin(s) to buildscript classpath
26+ // NOTE: Anything included in our build plugin is added to the classpath for all projects,
27+ // this includes bundled plugins and their versions. As an example the smithy gradle base
28+ // plugin is used by the smithybuild plugin which means you can't apply it with a different
29+ // version directly because it's already on the classpath.
30+ //
31+ // Plugin configures (KMP) subprojects with our own KMP conventions and some default dependencies
32+ alias(libs.plugins.aws.kotlin.repo.tools.kmp)
33+ }
4034
4135val testJavaVersion = typedProp<String >(" test.java.version" )?.let {
4236 JavaLanguageVersion .of(it)
0 commit comments