@@ -26,7 +26,8 @@ apply plugin: 'kotlin-android'
2626apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2727
2828android {
29- compileSdkVersion 31
29+ compileSdkVersion flutter. compileSdkVersion
30+ ndkVersion flutter. ndkVersion
3031
3132 compileOptions {
3233 sourceCompatibility JavaVersion . VERSION_1_8
@@ -41,13 +42,8 @@ android {
4142 main. java. srcDirs + = ' src/main/kotlin'
4243 }
4344
44- lintOptions {
45- disable ' InvalidPackage'
46- }
47-
4845 defaultConfig {
49- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
50- applicationId " com.example.InstabugSample"
46+ applicationId " com.instabug.flutter.example"
5147 minSdkVersion 18
5248 targetSdkVersion 30
5349 versionCode flutterVersionCode. toInteger()
@@ -74,13 +70,13 @@ flutter {
7470}
7571
7672dependencies {
77- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
78- testImplementation ' junit:junit:4.12'
79- implementation ' com.android.support:multidex:1.0.3'
8073 androidTestImplementation ' androidx.test.ext:junit:1.1.1'
8174 androidTestImplementation ' androidx.test:rules:1.1.0'
8275 androidTestImplementation ' androidx.test.espresso:espresso-core:3.1.0'
8376 androidTestImplementation ' com.android.support.test.uiautomator:uiautomator:2.1.3'
84- testImplementation ' org.mockito:mockito-core:1.10.19'
77+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
78+ implementation ' com.android.support:multidex:1.0.3'
8579 implementation ' org.mockito:mockito-core:1.10.19'
80+ testImplementation ' junit:junit:4.12'
81+ testImplementation ' org.mockito:mockito-core:1.10.19'
8682}
0 commit comments