I want to add my own (integration test) module to the Cordova Android project.
For completely native projects, you simply add a new module, complete and execute it. But for Cordoba, of course, I do not want to mess with the created Android project, as some of these changes may be lost during the assembly, etc.
I got the Poof of Concept module working manually, having the module folder outside the Android Cordova folder and adding it to settings.gradle:
include ':module-androidTest'
project(':module-androidTest').projectDir = new File("../module-tests")
But of course line 1 of this file already says
// GENERATED FILE - DO NOT EDIT
Is there any other way to add additional modules to an Android project in Cordoba?
Some approaches that I have researched or thought about:
build-extras.gradle? ( , settings.gradle - build.gradle, ?)
StackOverflow GradleBuilder.js: qaru.site/questions/1642727/... , , , . , ?
- Cordova? , .. - , - ?