-
Currently, I'm trying to include the detekt-gradle-plugin (and with this the complete detekt project) directly from the source code to do some deeper debugging research.
How can I include the detekt/detekt-gradle-plugin into my mainProject? Does anybody have a valid example here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Well.. This was a way easier as I thought. Simply write |
Beta Was this translation helpful? Give feedback.
-
If you don't need to change things, I found it simplest to add a dependency on the libs. This works with anything:
This will pull in the libraries as External Libraries and attach all the -sources.jar code. |
Beta Was this translation helpful? Give feedback.
Well.. This was a way easier as I thought. Simply write
includeBuild("../detekt")
into the settings.gradle.kts of the mainProject and everything works like a charm 😄