From 20ed0fe28cac048d49b85c0dea665e7d88812c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ferreira?= Date: Sun, 20 Aug 2023 22:40:52 +0100 Subject: [PATCH] build: phaseout kotlin-android-extensions plugin 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 https://github.com/apache/cordova-android/issues/1642, so staying one step ahead, this plugin has been effectively removed. References https://outsystemsrd.atlassian.net/browse/RNMT-6192 --- templates/project/app/build.gradle | 5 ----- 1 file changed, 5 deletions(-) diff --git a/templates/project/app/build.gradle b/templates/project/app/build.gradle index 19f97c21f..11d3a10c9 100644 --- a/templates/project/app/build.gradle +++ b/templates/project/app/build.gradle @@ -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 {