Is it possible to add specific properties to gradle.properties file from config.xml?
PeterHdd opened this issue · 1 comments
PeterHdd commented
Hello Cordova android community,
First thank you for all the effort in the android platform! I have a question, is there a way to add properties to the gradle.properties file automatically? So basically when doing cordova build android I want a specific property to be added there so the build passes in the CI. I know for androidx we can just add this in the config.xml:
<preference name="AndroidXEnabled" value="true" />
But what if some other property needs to be added how would we do that?
For example if i wanna ignore jetifying the jackson-core library:
android.jetifier.ignorelist = jackson-core
Can this somehow be added in the config.xml or the plugin.xml and then it gets added to the gradle.properties? If so how can this be done?
breautek commented
Migrating this to questions/answers