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' } }