GitHub user PeterHdd closed a discussion: Is it possible to add specific properties to gradle.properties file from config.xml?
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? GitHub link: https://github.com/apache/cordova/discussions/482 ---- This is an automatically sent email for issues@cordova.apache.org. To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org