Does anyone know why I'm getting an UnknownPluginE...
# gradle
h
Does anyone know why I'm getting an UnknownPluginException when trying to use a custom-built gradle kotlin compiler plugin? Here are the details: https://stackoverflow.com/questions/55850500/why-do-i-get-unknownpluginexception-when-trying-to-use-a-custom-kotlin-complier
s
responded on stack overflow, but where do you have it deployed? did you deploy to
mavenLocal()
? did you deploy at all? have you made sure that you set up to search mavenLocal for plugins?
h
I deployed it to mavenLocal. I know Gradle finds it, because it fails earlier if I insert a typo in the classpath dependency.
@snowe I have added an example project now, so it's really easy to reproduce. Feel like taking a look? 🙂
s
let me look.
you didn't update the plugin repositories.
also, you will need to comment out your plugin in
example
until you publish the
plugin
module to
mavenLocal
. then you can uncomment it.
you still have test failures, but you are at least past the problem you were having.
sorry it took so long. I was helping other coworkers.
h
Hehe, no problem 🙂
I did uncomment (had to do the same with the
buildscript
version)
Anyway, I solved it better by using
GradleRunner
🙂