|
@@ -1,3 +1,8 @@
|
|
|
+plugins {
|
|
|
+ id "com.android.application"
|
|
|
+ id "kotlin-android"
|
|
|
+ id "dev.flutter.flutter-gradle-plugin"
|
|
|
+}
|
|
|
def localProperties = new Properties()
|
|
|
def localPropertiesFile = rootProject.file('local.properties')
|
|
|
if (localPropertiesFile.exists()) {
|
|
@@ -6,10 +11,10 @@ if (localPropertiesFile.exists()) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-def flutterRoot = localProperties.getProperty('flutter.sdk')
|
|
|
+/*def flutterRoot = localProperties.getProperty('flutter.sdk')
|
|
|
if (flutterRoot == null) {
|
|
|
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
|
|
|
-}
|
|
|
+}*/
|
|
|
|
|
|
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
|
|
if (flutterVersionCode == null) {
|
|
@@ -21,9 +26,10 @@ if (flutterVersionName == null) {
|
|
|
flutterVersionName = '1.0'
|
|
|
}
|
|
|
|
|
|
-apply plugin: 'com.android.application'
|
|
|
-apply plugin: 'kotlin-android'
|
|
|
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
|
+//apply plugin: 'com.android.application'
|
|
|
+//apply plugin: 'kotlin-android'
|
|
|
+//apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
|
+
|
|
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
|
@@ -126,7 +132,7 @@ flutter {
|
|
|
|
|
|
dependencies {
|
|
|
implementation 'io.sentry:sentry-android:2.0.0'
|
|
|
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21"
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
|
|
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
|
|
|
testImplementation 'junit:junit:4.12'
|