diff --git a/android/app/build.gradle b/android/app/build.gradle index 7f20acc..e1d5ca5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -34,9 +34,17 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } + kotlinOptions { + jvmTarget = '1.8' + } + + sourceSets { + main.java.srcDirs += 'src/main/kotlin' + } + defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.arminta.healthcare_user" + applicationId "com.arminta.healthcare_pharmacy" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 28 @@ -57,3 +65,7 @@ android { flutter { source '../..' } + +dependencies { + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" +} diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index 034853a..0351b8d 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.arminta.healthcare_pharmacy"> @@ -12,7 +12,7 @@ + package="com.arminta.healthcare_pharmacy">