From e45413c2ad77f6b403b52af30508b31ce8d92fda Mon Sep 17 00:00:00 2001
From: Parricc35 <63447810+Parricc35@users.noreply.github.com>
Date: Mon, 20 Feb 2023 21:27:57 +0100
Subject: [PATCH] Moved android out of lib
---
lib/android/.gitignore | 13 ----
lib/android/app/build.gradle | 71 ------------------
lib/android/app/src/debug/AndroidManifest.xml | 8 --
lib/android/app/src/main/AndroidManifest.xml | 34 ---------
.../example/smoke_cess_app/MainActivity.kt | 6 --
.../res/drawable-v21/launch_background.xml | 12 ---
.../main/res/drawable/launch_background.xml | 12 ---
.../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 544 -> 0 bytes
.../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 442 -> 0 bytes
.../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 721 -> 0 bytes
.../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes
.../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 1443 -> 0 bytes
.../app/src/main/res/values-night/styles.xml | 18 -----
.../app/src/main/res/values/styles.xml | 18 -----
.../app/src/profile/AndroidManifest.xml | 8 --
lib/android/build.gradle | 31 --------
lib/android/gradle.properties | 3 -
.../gradle/wrapper/gradle-wrapper.properties | 5 --
lib/android/settings.gradle | 11 ---
19 files changed, 250 deletions(-)
delete mode 100644 lib/android/.gitignore
delete mode 100644 lib/android/app/build.gradle
delete mode 100644 lib/android/app/src/debug/AndroidManifest.xml
delete mode 100644 lib/android/app/src/main/AndroidManifest.xml
delete mode 100644 lib/android/app/src/main/kotlin/com/example/smoke_cess_app/MainActivity.kt
delete mode 100644 lib/android/app/src/main/res/drawable-v21/launch_background.xml
delete mode 100644 lib/android/app/src/main/res/drawable/launch_background.xml
delete mode 100644 lib/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
delete mode 100644 lib/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
delete mode 100644 lib/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
delete mode 100644 lib/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
delete mode 100644 lib/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
delete mode 100644 lib/android/app/src/main/res/values-night/styles.xml
delete mode 100644 lib/android/app/src/main/res/values/styles.xml
delete mode 100644 lib/android/app/src/profile/AndroidManifest.xml
delete mode 100644 lib/android/build.gradle
delete mode 100644 lib/android/gradle.properties
delete mode 100644 lib/android/gradle/wrapper/gradle-wrapper.properties
delete mode 100644 lib/android/settings.gradle
diff --git a/lib/android/.gitignore b/lib/android/.gitignore
deleted file mode 100644
index 6f56801..0000000
--- a/lib/android/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-gradle-wrapper.jar
-/.gradle
-/captures/
-/gradlew
-/gradlew.bat
-/local.properties
-GeneratedPluginRegistrant.java
-
-# Remember to never publicly share your keystore.
-# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
-key.properties
-**/*.keystore
-**/*.jks
diff --git a/lib/android/app/build.gradle b/lib/android/app/build.gradle
deleted file mode 100644
index d8c9ecd..0000000
--- a/lib/android/app/build.gradle
+++ /dev/null
@@ -1,71 +0,0 @@
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-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) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
-}
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
-android {
- compileSdkVersion flutter.compileSdkVersion
- ndkVersion flutter.ndkVersion
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- 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.example.smoke_cess_app"
- // 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 flutter.minSdkVersion
- targetSdkVersion flutter.targetSdkVersion
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- }
-
- buildTypes {
- release {
- // TODO: Add your own signing config for the release build.
- // Signing with the debug keys for now, so `flutter run --release` works.
- signingConfig signingConfigs.debug
- }
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
-}
diff --git a/lib/android/app/src/debug/AndroidManifest.xml b/lib/android/app/src/debug/AndroidManifest.xml
deleted file mode 100644
index 71277f5..0000000
--- a/lib/android/app/src/debug/AndroidManifest.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/lib/android/app/src/main/AndroidManifest.xml b/lib/android/app/src/main/AndroidManifest.xml
deleted file mode 100644
index bae31ce..0000000
--- a/lib/android/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/lib/android/app/src/main/kotlin/com/example/smoke_cess_app/MainActivity.kt b/lib/android/app/src/main/kotlin/com/example/smoke_cess_app/MainActivity.kt
deleted file mode 100644
index 2c89aef..0000000
--- a/lib/android/app/src/main/kotlin/com/example/smoke_cess_app/MainActivity.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.example.smoke_cess_app
-
-import io.flutter.embedding.android.FlutterActivity
-
-class MainActivity: FlutterActivity() {
-}
diff --git a/lib/android/app/src/main/res/drawable-v21/launch_background.xml b/lib/android/app/src/main/res/drawable-v21/launch_background.xml
deleted file mode 100644
index f74085f..0000000
--- a/lib/android/app/src/main/res/drawable-v21/launch_background.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/lib/android/app/src/main/res/drawable/launch_background.xml b/lib/android/app/src/main/res/drawable/launch_background.xml
deleted file mode 100644
index 304732f..0000000
--- a/lib/android/app/src/main/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/lib/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/lib/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4b7b0906d62b1847e87f15cdcacf6a4f29..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 544
zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G}
zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc
zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs
zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG
zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0
zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~
AQ2+n{
diff --git a/lib/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/lib/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b79bb8a35cc66c3c1fd44f5a5526c1b78be..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 442
zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk?
zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB
zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q0|W-^A&VhjhO+044$%!YxiPI;`p4Q#=k
za-F;6dk-j1J*_nBlG2>3KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l
zytQ?X=U+MF$@3
zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+
yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs
z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM
zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R`
zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM
zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg
zoq1^2_p9@|WEo
z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q&
zrYBH{QP^@Sti!`2)uG{irBBq@y*$B
zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N
zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$
diff --git a/lib/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/lib/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d34e7a88e3f88bea192c3a370d44689c3c..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1031
zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{(
zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_%
zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3
zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc
z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R
zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2
z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b
zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE
z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o
zo~|9I;xof
diff --git a/lib/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/lib/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372eebdb28e45604e46eeda8dd24651419bc0..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1443
zcmb`G{WsKk6vsdJTdFg%tJav9_E4vzrOaqkWF|A724Nly!y+?N9`YV6wZ}5(X(D_N(?!*n3`|_r0Hc?=PQw&*vnU?QTFY
zB_MsH|!j$PP;I}?dppoE_gA(4uc!jV&0!l7_;&p2^pxNo>PEcNJv
za5_RT$o2Mf!<+r?&EbHH6nMoTsDOa;mN(wv8RNsHpG)`^ymG-S5By8=l9iVXzN_eG%Xg2@Xeq76tTZ*dGh~Lo9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dlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f
z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H
zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP
z(1P?z~7YxD~Rf<(a@_y`
diff --git a/lib/android/app/src/main/res/values-night/styles.xml b/lib/android/app/src/main/res/values-night/styles.xml
deleted file mode 100644
index 06952be..0000000
--- a/lib/android/app/src/main/res/values-night/styles.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
diff --git a/lib/android/app/src/main/res/values/styles.xml b/lib/android/app/src/main/res/values/styles.xml
deleted file mode 100644
index cb1ef88..0000000
--- a/lib/android/app/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
diff --git a/lib/android/app/src/profile/AndroidManifest.xml b/lib/android/app/src/profile/AndroidManifest.xml
deleted file mode 100644
index 71277f5..0000000
--- a/lib/android/app/src/profile/AndroidManifest.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/lib/android/build.gradle b/lib/android/build.gradle
deleted file mode 100644
index 83ae220..0000000
--- a/lib/android/build.gradle
+++ /dev/null
@@ -1,31 +0,0 @@
-buildscript {
- ext.kotlin_version = '1.6.10'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.1.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
-allprojects {
- repositories {
- google()
- mavenCentral()
- }
-}
-
-rootProject.buildDir = '../build'
-subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
-}
-subprojects {
- project.evaluationDependsOn(':app')
-}
-
-task clean(type: Delete) {
- delete rootProject.buildDir
-}
diff --git a/lib/android/gradle.properties b/lib/android/gradle.properties
deleted file mode 100644
index 94adc3a..0000000
--- a/lib/android/gradle.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-org.gradle.jvmargs=-Xmx1536M
-android.useAndroidX=true
-android.enableJetifier=true
diff --git a/lib/android/gradle/wrapper/gradle-wrapper.properties b/lib/android/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index cb24abd..0000000
--- a/lib/android/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
diff --git a/lib/android/settings.gradle b/lib/android/settings.gradle
deleted file mode 100644
index 44e62bc..0000000
--- a/lib/android/settings.gradle
+++ /dev/null
@@ -1,11 +0,0 @@
-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"