-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from LittleLightForDestiny/flutter_upgrade
upgrade flutter to 3.22
- Loading branch information
Showing
70 changed files
with
608 additions
and
593 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
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
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 |
---|---|---|
|
@@ -58,14 +58,14 @@ jobs: | |
|
||
- name: Setup MS Store Developer CLI | ||
uses: microsoft/setup-msstore-cli@v1 | ||
|
||
- name: Configure MS Store credentials | ||
run: msstore reconfigure --tenantId ${{ secrets.AZURE_AD_TENANT_ID }} --clientId ${{ secrets.AZURE_AD_CLIENT_ID }} --clientSecret ${{ secrets.AZURE_AD_CLIENT_SECRET }} --sellerId ${{ secrets.MS_STORE_SELLER_ID }} | ||
|
||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: "3.16.5" | ||
flutter-version: "3.22.1" | ||
|
||
- name: Create assets/_env | ||
shell: bash | ||
|
@@ -81,7 +81,7 @@ jobs: | |
|
||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Build via Flutter | ||
run: flutter build windows --release | ||
|
||
|
@@ -95,16 +95,16 @@ jobs: | |
if: steps.variables.outputs.version != '' | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
filename: 'LittleLight-windows-${{ steps.variables.outputs.version }}.zip' | ||
type: "zip" | ||
filename: "LittleLight-windows-${{ steps.variables.outputs.version }}.zip" | ||
path: ${{ github.workspace }}/build/windows/x64/runner/Release | ||
|
||
- name: Upload build to Github Release | ||
uses: softprops/action-gh-release@v1 | ||
if: steps.variables.outputs.version != '' | ||
with: | ||
tag_name: ${{ steps.variable.outputs.version }} | ||
files: 'LittleLight-windows-${{ steps.variables.outputs.version }}.zip' | ||
files: "LittleLight-windows-${{ steps.variables.outputs.version }}.zip" | ||
|
||
- name: Create MSIX package | ||
if: steps.variables.outputs.track == 'production' | ||
|
@@ -113,5 +113,3 @@ jobs: | |
- name: Publish MSIX to the Microsoft Store | ||
if: steps.variables.outputs.track == 'production' | ||
run: msstore publish -v -i ./build/windows/x64/runner/Release | ||
|
||
|
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,16 +1,23 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Flutter", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/main.dart" | ||
}, | ||
{ | ||
"name": "LittleLight Dev Mode", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/dev_mode_main.dart" | ||
} | ||
{ | ||
"name": "Debug", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/main.dart" | ||
}, | ||
{ | ||
"name": "Profile", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/main.dart", | ||
"flutterMode": "profile", | ||
}, | ||
{ | ||
"name": "LittleLight Dev Mode", | ||
"type": "dart", | ||
"request": "launch", | ||
"program": "lib/dev_mode_main.dart" | ||
} | ||
] | ||
} |
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
25 changes: 0 additions & 25 deletions
25
android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java
This file was deleted.
Oops, something went wrong.
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
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,15 +1,27 @@ | ||
include ':app' | ||
pluginManagement { | ||
def flutterSdkPath = { | ||
def properties = new Properties() | ||
file("local.properties").withInputStream { properties.load(it) } | ||
def flutterSdkPath = properties.getProperty("flutter.sdk") | ||
assert flutterSdkPath != null, "flutter.sdk not set in local.properties" | ||
return flutterSdkPath | ||
}() | ||
|
||
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() | ||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") | ||
|
||
def plugins = new Properties() | ||
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') | ||
if (pluginsFile.exists()) { | ||
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } | ||
repositories { | ||
google() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
plugins.each { name, path -> | ||
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() | ||
include ":$name" | ||
project(":$name").projectDir = pluginDirectory | ||
plugins { | ||
id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
id("com.android.application") version "8.1.4" apply false | ||
id("com.google.gms.google-services") version "4.4.2" apply false | ||
id("org.jetbrains.kotlin.android") version "1.7.10" apply false | ||
id("com.google.firebase.crashlytics") version "3.0.1" apply false | ||
} | ||
|
||
include ":app" |
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.