From 5c62a0ac34d15d3cfb0ac155a30bd68301ff2b84 Mon Sep 17 00:00:00 2001 From: Sarathy <144701759+Sarathy2908@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:20:57 +0530 Subject: [PATCH] Update build.gradle update this to avoid namespace error --- .../on_audio_query_android/android/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/on_audio_query_android/android/build.gradle b/packages/on_audio_query_android/android/build.gradle index a539751..fffb4bc 100644 --- a/packages/on_audio_query_android/android/build.gradle +++ b/packages/on_audio_query_android/android/build.gradle @@ -27,11 +27,24 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 33 + namespace = 'com.lucasjosino.on_audio_query' + sourceSets { main.java.srcDirs += 'src/main/kotlin' } + defaultConfig { minSdkVersion 16 + targetSdkVersion 33 + } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' } }