Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 5 additions & 1 deletion build-plugins/build-support/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ repositories {

dependencies {
// make our custom lint rules available to the buildscript classpath
runtimeOnly(project(":ktlint-rules"))
runtimeOnly(project(":ktlint-rules")) {
// Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath in consuming modules
exclude(group = "org.jetbrains.kotlin", module = "kotlin-compiler-embeddable")
}

implementation(libs.nexusPublishPlugin)
compileOnly(gradleApi())
implementation("aws.sdk.kotlin:s3:1.1.+")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ fun Project.configureLinting(lintPaths: List<String>) {
attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
}

// Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath in consuming modules
exclude(group = "org.jetbrains.kotlin", module = "kotlin-compiler-embeddable")
}
}

Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ dependencies {
attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
}

// Ensure that kotlin-compiler-embeddable isn't included in the buildscript classpath
exclude(group = "org.jetbrains.kotlin", module = "kotlin-compiler-embeddable")
}

ktlint(project(":ktlint-rules"))
}

Expand Down