Skip to content

Commit

Permalink
build: phaseout kotlin-android-extensions plugin
Browse files Browse the repository at this point in the history
According to https://android-developers.googleblog.com/2022/02/discontinuing-kotlin-synthetics-for-views.html
this Gradle plugin is no longer required, and will actually prevent
using newer Kotlin versions to build Android applications. This is
also reflected in apache#1642,
so staying one step ahead, this plugin has been effectively removed.

References https://outsystemsrd.atlassian.net/browse/RNMT-6192
  • Loading branch information
EiyuuZack authored and andredestro committed Sep 4, 2024
1 parent 9458ef4 commit 20ed0fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions templates/project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ apply plugin: 'com.android.application'

if (cordovaConfig.IS_GRADLE_PLUGIN_KOTLIN_ENABLED) {
apply plugin: 'kotlin-android'

if(!cdvHelpers.isVersionGreaterThanEqual(cordovaConfig.KOTLIN_VERSION, '1.8.0')) {
println "Kotlin version < 1.8.0 detected. Applying kotlin-android-extensions plugin."
apply plugin: 'kotlin-android-extensions'
}
}

buildscript {
Expand Down

0 comments on commit 20ed0fe

Please sign in to comment.