Open deshant opened 3 years ago
Found the way to handle this, but I would call it a workaround for now as a multi-module app will have multiple src
folders.
To apply the plugin to another module instead of app
specify enigma.srcJava = "/<module>/src/main/java/"
in build.gradle next to enigma.enabled = true
.
Will leave this issue open for now till the developer provides a better way to specify multiple modules within same project.
Is it added in build.gradle in the library? I did it to no avail
I have added this plugin to a project which has 2 modules, one app and another library type.
The plugin is only accessing app module, and not the library module, even though the plugin was added to library's build.gradle by specifying:
apply plugin: 'com.chrisney.enigma'
andenigma.enabled = true
.Project level build.gradle:
library's module level build.gradle:
app module's build.gradle was not changed.
When running assemble, I can see the app's java files getting encrypted but not the module's:
project's settings.gradle:
Can you check if this plugin can only support app module and not additional modules in same project?