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?
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.propertiesfile automatically? So basically when doingcordova build androidI 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 theconfig.xml:But what if some other property needs to be added how would we do that?
For example if i wanna ignore jetifying the
jackson-corelibrary:Can this somehow be added in the
config.xmlor theplugin.xmland then it gets added to thegradle.properties? If so how can this be done?