Cordova Slack Digest

Wed, 08 Jun 2022 08:22:22 GMT

User count: 4692

Join the conversation at slack.cordova.io

Channel #general (1 messages)


Tue, 07 Jun 2022 09:57:56 GMT

@azoulay.jordan says

Hello Cordova Team, I started create a library for use Cordova with Typescript and ReactJs in order to my personal futur development. If you have some comments I will have the joy of hearing them https://github.com/joazco/awesome-cordova-library

Channel #cordova-android (3 messages)


Tue, 07 Jun 2022 11:42:43 GMT

@mario.kurzweil says

Does anyone have experience with https://github.com/Triple-T/gradle-play-publisher? Based on the documentation I tried to integrate it, but I’m getting the following error: Could not initialize class com.github.triplet.gradle.common.validation.MinDepsKt

gradle version: 7.1.1 agp version: 4.2.2 cordova: 11.0.0 cordova-android: 10.1.1

It seems like that the agp version is too low, but after I did some research it’s not recommended to change it manually: https://github.com/apache/cordova-android/issues/650#issuecomment-612751049

Any thoughts?

Tue, 07 Jun 2022 12:23:10 GMT

@norman137 says

if you think it requires a newer AGP, you can test it on the nightly cordova-android version, which uses AGP 7.x. It will require build tools 32 and java 11 as well

Tue, 07 Jun 2022 12:34:21 GMT

@norman137 says

Alternatively on cordova-android@10, I think you can set the AGP version using AndroidGradlePluginVersion preference. I don‘t think it’s documented but is in the list of XML to gradle mappings https://github.com/apache/cordova-android/blob/68a9a3181aae6e39d6812222087456358b8b377e/lib/prepare.js#L106

Note that using this is more or less a feature for testing, Apache doesn‘t support issues when changing the AGP to a different value than it’s default nor are different values are tested.