# Compiler plugin not being called

**URL:** <https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136>\
**Category:** Support\
**Created:** [June 19, 2019, 4:21am UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136 "2019-06-19T04:21:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pieflavor](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pieflavor/32/6469_2.png) [@pieflavor](https://discuss.kotlinlang.org/u/pieflavor)\
**Post date:** [June 19, 2019, 4:21am UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136/1 "2019-06-19T04:21:49Z")

</div>

I have created a Kotlin compiler plugin (following [this video](https://www.youtube.com/watch?v=w-GMlaziIyo)):

> **[GitHub - pie-flavor/KludgeCompiler](https://github.com/pie-flavor/KludgeCompiler)**
>
> Contribute to pie-flavor/KludgeCompiler development by creating an account on GitHub.

And corresponding Gradle plugin:

> **[GitHub - pie-flavor/KludgeGradle](https://github.com/pie-flavor/KludgeGradle)**
>
> Contribute to pie-flavor/KludgeGradle development by creating an account on GitHub.

The output log shows that the Gradle plugin is being invoked and processed correctly; the `-Xplugin` argument points to the `KludgeCompiler` jar and there is a `-P plugin:kludge:onByDefault=true` argument passed, without any sort of manual configuration. However there is no output from the compiler plugin (despite peppering some `println`s around) and the output class files are not transformed at all.

Can anyone help?

---

<div class="post-metadata">

**Author:** ![pieflavor](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pieflavor/32/6469_2.png) [@pieflavor](https://discuss.kotlinlang.org/u/pieflavor)\
**Post date:** [July 12, 2019, 10:38pm UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136/2 "2019-07-12T22:38:31Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![pieflavor](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pieflavor/32/6469_2.png) [@pieflavor](https://discuss.kotlinlang.org/u/pieflavor)\
**Post date:** [July 23, 2019, 6:24am UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136/3 "2019-07-23T06:24:32Z")

</div>

and a bump again

---

<div class="post-metadata">

**Author:** ![pieflavor](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pieflavor/32/6469_2.png) [@pieflavor](https://discuss.kotlinlang.org/u/pieflavor)\
**Post date:** [August 8, 2019, 3:10pm UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136/4 "2019-08-08T15:10:55Z")

</div>

and once more for good measure.

---

<div class="post-metadata">

**Author:** ![pieflavor](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pieflavor/32/6469_2.png) [@pieflavor](https://discuss.kotlinlang.org/u/pieflavor)\
**Post date:** [August 8, 2019, 5:51pm UTC](https://discuss.kotlinlang.org/t/compiler-plugin-not-being-called/13136/5 "2019-08-08T17:51:04Z")

</div>

The issue is resolved. I did not follow the example as closely as I thought I had.
