-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update flutter and frameworks versions
- Loading branch information
Showing
41 changed files
with
141 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,58 @@ | ||
plugins { | ||
id "com.android.application" | ||
id "kotlin-android" | ||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. | ||
id "dev.flutter.flutter-gradle-plugin" | ||
} | ||
|
||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
def localPropertiesFile = rootProject.file("local.properties") | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localPropertiesFile.withReader("UTF-8") { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
def flutterVersionCode = localProperties.getProperty("flutter.versionCode") | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
flutterVersionCode = "1" | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
def flutterVersionName = localProperties.getProperty("flutter.versionName") | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
flutterVersionName = "1.0" | ||
} | ||
|
||
android { | ||
namespace "com.example.wildfiretracker" | ||
compileSdkVersion flutter.compileSdkVersion | ||
ndkVersion flutter.ndkVersion | ||
namespace = "com.example.lg_wildfire_tracker" | ||
compileSdk = 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' | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
defaultConfig { | ||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||
applicationId "com.example.wildfiretracker" | ||
applicationId = "com.example.lg_wildfire_tracker" | ||
// You can update the following values to match your application needs. | ||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. | ||
minSdkVersion flutter.minSdkVersion | ||
targetSdkVersion flutter.targetSdkVersion | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
minSdk = flutter.minSdkVersion | ||
targetSdk = 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 | ||
signingConfig = signingConfigs.debug | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
source = "../.." | ||
} | ||
|
||
dependencies {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
android/app/src/main/kotlin/com/example/lg_wildfire_tracker/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.example.lg_wildfire_tracker | ||
|
||
import io.flutter.embedding.android.FlutterActivity | ||
|
||
class MainActivity: FlutterActivity() |
6 changes: 0 additions & 6 deletions
6
android/app/src/main/kotlin/com/example/wildfiretracker/MainActivity.kt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-9.25 KB
android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-50.3 KB
android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-16.5 KB
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-107 KB
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-24.7 KB
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-179 KB
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
5 changes: 0 additions & 5 deletions
5
android/app/src/main/res/res/mipmap-anydpi-v26/ic_launcher.xml
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file removed
BIN
-5.88 KB
android/app/src/main/res/res/mipmap-hdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-30.1 KB
android/app/src/main/res/res/mipmap-hdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.26 KB
android/app/src/main/res/res/mipmap-mdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-14.3 KB
android/app/src/main/res/res/mipmap-mdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.25 KB
android/app/src/main/res/res/mipmap-xhdpi/ic_launcher_adaptive_back.png
Binary file not shown.
Binary file removed
BIN
-50.3 KB
android/app/src/main/res/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.5 KB
android/app/src/main/res/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png
Diff not rendered.
Binary file removed
BIN
-107 KB
android/app/src/main/res/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png
Diff not rendered.
Diff not rendered.
Binary file removed
BIN
-24.7 KB
android/app/src/main/res/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png
Diff not rendered.
Binary file removed
BIN
-179 KB
android/app/src/main/res/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
org.gradle.jvmargs=-Xmx1536M | ||
org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError | ||
android.useAndroidX=true | ||
android.enableJetifier=true | ||
android.nonTransitiveRClass=false | ||
android.nonFinalResIds=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.