Replies: 1 comment 3 replies
-
Most probably related to #253 and how Gradle separates classpathes. The fix may be to also add Kotlin Gradle plugin as a |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have my own Gradle plugin (internally used at my company) that I want to use to apply ktlint-gradle. However...this is giving me quite a lot of trouble. I'm curious if anyone else has done this and has an example to share.
The closest I've gotten is this:
If I add this to my plugin's build.gradle:
dependencies { runtimeOnly("org.jlleitschuh.gradle:ktlint-gradle:10.1.0") }
and this to my main
apply
method:it successfully finds the plugin, but then crashes:
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions