diff --git a/platforms/android/aar-template/OpenCV/build.gradle.template b/platforms/android/aar-template/OpenCV/build.gradle.template index 10c8e64aa7..b12802063b 100644 --- a/platforms/android/aar-template/OpenCV/build.gradle.template +++ b/platforms/android/aar-template/OpenCV/build.gradle.template @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'maven-publish' + id 'kotlin-android' } android { diff --git a/platforms/android/aar-template/build.gradle b/platforms/android/aar-template/build.gradle index decab5bc55..280dab5da7 100644 --- a/platforms/android/aar-template/build.gradle +++ b/platforms/android/aar-template/build.gradle @@ -1,4 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.library' version '7.3.0' apply false + id 'org.jetbrains.kotlin.android' version '1.8.20' apply false }