more fixes for flutter

This commit is contained in:
John Smith
2022-08-23 11:48:22 -04:00
parent 1793dd90e8
commit 075bd99075
5 changed files with 35 additions and 5 deletions

View File

@@ -86,6 +86,7 @@ cargo {
targets = ["arm", "arm64", "x86", "x86_64"]
targetDirectory = "../../target"
prebuiltToolchains = true
pythonCommand = "python3"
profile = gradle.startParameter.taskNames.any{it.toLowerCase().contains("debug")} ? "debug" : "release"
// features {
// defaultAnd("android_tests")

View File

@@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion '22.0.7026061'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -81,7 +81,7 @@ elif [ "$OS" == "macos" ]; then
sudo arch -x86_64 gem install cocoapods
# ensure platforms are enabled in flutter
flutter config --enable-macos-desktop --enable-ios --no-enable-android
flutter config --enable-macos-desktop --enable-ios --enable-android
fi
# turn off analytics