From 006d38adf8d0001522dfe207924c5f7d9c609ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christin=20Gl=C3=A4nzel?= <1910700@stud.hs-mannheim.de> Date: Tue, 18 Oct 2022 22:34:43 +0200 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9Eandroid/a?= =?UTF-8?q?pp/scr/debug=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/scr/debug/AndroidManifest.xml | 7 ++++++ android/app/scr/debug/build.gradle | 29 +++++++++++++++++++++++ android/app/scr/debug/gradle.properties | 3 +++ android/app/scr/debug/settings.gradle | 11 +++++++++ 4 files changed, 50 insertions(+) create mode 100644 android/app/scr/debug/AndroidManifest.xml create mode 100644 android/app/scr/debug/build.gradle create mode 100644 android/app/scr/debug/gradle.properties create mode 100644 android/app/scr/debug/settings.gradle 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"