Please read common INSTALL.md in ecoCode-common
repository.
Here is a preview of project tree :
ecoCode-mobile # Root directory
|
+--android-plugin # Android
|
+--codenarc-converter # codenarc-converter
|
+--ios-plugin # IOS
|
\--docker-compose.yml # Docker compose file
You 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.bat
please check above common installation notes.