File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
build-plugins/build-support
src/main/kotlin/aws/sdk/kotlin/gradle/dsl Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ repositories {
1919
2020dependencies {
2121 // make our custom lint rules available to the buildscript classpath
22- runtimeOnly(project(" :ktlint-rules" ))
22+ runtimeOnly(project(" :ktlint-rules" )) {
23+ // Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath in consuming modules
24+ exclude(group = " org.jetbrains.kotlin" , module = " kotlin-compiler-embeddable" )
25+ }
26+
2327 implementation(libs.nexusPublishPlugin)
2428 compileOnly(gradleApi())
2529 implementation(" aws.sdk.kotlin:s3:1.1.+" )
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ fun Project.configureLinting(lintPaths: List<String>) {
2626 attributes {
2727 attribute(Bundling .BUNDLING_ATTRIBUTE , objects.named(Bundling .EXTERNAL ))
2828 }
29+
30+ // Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath in consuming modules
31+ exclude(group = " org.jetbrains.kotlin" , module = " kotlin-compiler-embeddable" )
2932 }
3033 }
3134
Original file line number Diff line number Diff line change @@ -51,7 +51,11 @@ dependencies {
5151 attributes {
5252 attribute(Bundling .BUNDLING_ATTRIBUTE , objects.named(Bundling .EXTERNAL ))
5353 }
54+
55+ // Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath
56+ exclude(group = " org.jetbrains.kotlin" , module = " kotlin-compiler-embeddable" )
5457 }
58+
5559 ktlint(project(" :ktlint-rules" ))
5660}
5761
You can’t perform that action at this time.
0 commit comments