diff --git a/android/build.gradle b/android/build.gradle index dbdff724..90a0d04e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'io.carius.lars.ar_flutter_plugin' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '1.3.50' + ext.kotlin_version = '1.8.22' repositories { google() jcenter() @@ -25,8 +25,16 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 30 + namespace 'com.dsi.ar_flutter_plugin' + compileSdkVersion 35 + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = "17" + } sourceSets { main.java.srcDirs += 'src/main/kotlin' } diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index b8ef48a5..229022bd 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,4 +1,4 @@ - + diff --git a/pubspec.yaml b/pubspec.yaml index 8a25261f..82d97ecc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: ar_flutter_plugin description: Flutter Plugin for creating (collaborative) Augmented Reality experiences - Supports ARKit for iOS and ARCore for Android devices. version: 0.7.3 homepage: https://lars.carius.io -repository: https://github.com/CariusLars/ar_flutter_plugin +repository: https://github.com/nahidulislamshakin/ar_flutter_plugin environment: sdk: ">=2.16.1 <3.0.0" @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - permission_handler: ^10.1.0 + permission_handler: ^11.0.1 vector_math: ^2.1.1 json_annotation: ^4.5.0 geolocator: ^9.0.0