more fixes for flutter
This commit is contained in:
@@ -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")
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user