Please read common INSTALL.md in ecoCode-common repository.
Here is a preview of project tree :
ecocode-android # Root directory
|
+--android-plugin # Android
|
+--codenarc-converter # codenarc-converter
|
\--docker-compose.yml # Docker compose fileYou will find more information about the plugins’ architecture in their folders
The Android plugin uses CodeNarc to scan the gradle files of Android projects. To have more information about CodeNarc: CodeNarc.
CodeNarc must be built separately. Please build CodeNarc (Gradle 6.9.2, Java 11), then add this custom-built CodeNarc to Maven dependencies :
# Unix or MacOS
./tool_prepare-codenarc.sh
# Windows
tool_prepare-codenarc.batplease check above common installation notes.