redacted-compiler-plugin-gradle and redacted-compiler-plugin currently bring in kotlin-stdlib dependency, because it's added by default by the Kotlin Gradle Plugin.
Instead, those modules should have kotlin.stdlib.default.dependency=false in their gradle.properties along with compileOnly(kotlin("stdlib")) in their build.gradle.kts dependencies. This ensures it doesn't try to bring in the stdlib to either buildscript classpath, or the Kotlin compiler plugin classpath. Both will already containg stdlib depending on the Gradle and KGP versions.
redacted-compiler-plugin-gradle
andredacted-compiler-plugin
currently bring inkotlin-stdlib
dependency, because it's added by default by the Kotlin Gradle Plugin.Instead, those modules should have
kotlin.stdlib.default.dependency=false
in theirgradle.properties
along withcompileOnly(kotlin("stdlib"))
in theirbuild.gradle.kts
dependencies. This ensures it doesn't try to bring in the stdlib to either buildscript classpath, or the Kotlin compiler plugin classpath. Both will already containg stdlib depending on the Gradle and KGP versions.