We are glad to announce beta version 0.2.0 of Gradle inspection plugin!Gradle inspection plugin is a tool which is able to run Kotlin inspections, code reformatting and cleanup as Gradle tasks, using configurable versions of IDEA CE and Kotlin plugin. The tool can be helpful as a part of continuous integration and/or code review tools and/or code analysis tools. It's still "project under development", but we will greatly appreciate any feedback about the tool.Basic usage information can be found in README here: https://github.com/JetBrains/inspection-plugin.
Do you need to have IDEA on the CI for this to work? Or it's smart enough to only download the needed pieces on its own?
4 years ago
Yes, it downloads needed pieces itself
I saw issue about usage for Android project and will try to provide an example or a fix soon. In this place it should work like other code quality plugins, e.g.
So finally I reached it, sorry for long delay. You can use this project https://github.com/mglukhikh/inspection-sample-android as a possible example how to apply inspection plugin to Android Studio project (mostly your interest is inside app/build.gradle). At least, it works on my PC 🙂 // cc @dsvoronin@gildor
3 years ago
Thanks! I'll try it just after return from kotlinconf 😃
3 years ago
I'm also at kotlinconf, you can reach me at JB Tooling booth if needed