diff --git a/android/app/scr/debug/AndroidManifest.xml b/android/app/scr/debug/AndroidManifest.xml new file mode 100644 index 0000000..0005f29 --- /dev/null +++ b/android/app/scr/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/app/scr/debug/build.gradle b/android/app/scr/debug/build.gradle new file mode 100644 index 0000000..9b6ed06 --- /dev/null +++ b/android/app/scr/debug/build.gradle @@ -0,0 +1,29 @@ +buildscript { + ext.kotlin_version = '1.3.50' + repositories { + google() + jcenter() + } + + dependencies { + classpath 'com.android.tools.build:gradle:4.1.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +allprojects { + repositories { + google() + jcenter() + } +} + +rootProject.buildDir = '../build' +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" + project.evaluationDependsOn(':app') +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/android/app/scr/debug/gradle.properties b/android/app/scr/debug/gradle.properties new file mode 100644 index 0000000..94adc3a --- /dev/null +++ b/android/app/scr/debug/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/app/scr/debug/settings.gradle b/android/app/scr/debug/settings.gradle new file mode 100644 index 0000000..44e62bc --- /dev/null +++ b/android/app/scr/debug/settings.gradle @@ -0,0 +1,11 @@ +include ':app' + +def localPropertiesFile = new File(rootProject.projectDir, "local.properties") +def properties = new Properties() + +assert localPropertiesFile.exists() +localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } + +def flutterSdkPath = properties.getProperty("flutter.sdk") +assert flutterSdkPath != null, "flutter.sdk not set in local.properties" +apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"