craig-at-rsg opened a new issue #1383: URL: https://github.com/apache/cordova-android/issues/1383
# Bug Report ## Problem ### What is expected to happen? The GradlePluginKotlinVersion preference should be used for the entire build. ### What does actually happen? The build.gradle file has a kotlin version hardcoded, so the value set with GradlePluginKotlinVersion isn't used for the entire build. ## Information When using `<preference name="GradlePluginKotlinVersion" value="1.6.0" />` in my config.xml, my custom plugin fails with: `Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.15.` Manually setting the ext.kotlin_version in the build.gradle files gets my project building successfully. ### Command or Code cordova build android ### Environment, Platform, Device Mac, Android, any. ### Version information Not sure if it's limited to this version, but we're currently on cordova-android 9.1.0. ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
