mirror of
https://github.com/arabine/open-story-teller.git
synced 2025-12-06 17:09:06 +01:00
fix Flutter build
This commit is contained in:
parent
1fd58e4c30
commit
b962d303c5
7 changed files with 18 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -86,3 +86,4 @@ story-editor/flatpak_build/
|
|||
story-editor/AppDir/
|
||||
|
||||
core/story-manager/tests/build
|
||||
story-player/android/build/reports/problems/problems-report.html
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ if (flutterVersionName == null) {
|
|||
android {
|
||||
namespace "org.openstoryteller.story_player"
|
||||
compileSdkVersion flutter.compileSdkVersion
|
||||
ndkVersion flutter.ndkVersion
|
||||
// ndkVersion flutter.ndkVersion
|
||||
ndkVersion = "27.0.12077973"
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ pluginManagement {
|
|||
|
||||
plugins {
|
||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||
id "com.android.application" version "7.3.0" apply false
|
||||
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
|
||||
id "com.android.application" version "8.9.0" apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.1.21" apply false
|
||||
}
|
||||
|
||||
include ":app"
|
||||
|
|
@ -6,7 +6,7 @@ import 'dart:convert';
|
|||
import 'dart:async';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:saf/saf.dart';
|
||||
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:audioplayers/audioplayers.dart';
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
|
|
|
|||
|
|
@ -37,20 +37,19 @@ dependencies:
|
|||
cupertino_icons: ^1.0.2
|
||||
shelf: ^1.4.1
|
||||
shelf_router: ^1.1.4
|
||||
mime: ^1.0.4
|
||||
mime: ^2.0.0
|
||||
path: ^1.8.3
|
||||
path_provider: ^2.1.2
|
||||
saf: ^1.0.3+4
|
||||
path_provider: ^2.1.5
|
||||
ffi: ^2.1.0
|
||||
logger: ^2.2.0
|
||||
file_picker: ^8.0.3
|
||||
file_picker: ^10.2.0
|
||||
dqoi: ^1.3.0
|
||||
audioplayers: ^5.2.1
|
||||
audioplayers: ^6.5.0
|
||||
event_bus: ^2.0.0
|
||||
external_path: ^1.0.3
|
||||
permission_handler: ^10.4.5
|
||||
device_info_plus: ^10.1.0
|
||||
ffigen: ^12.0.0
|
||||
external_path: ^2.2.0
|
||||
permission_handler: ^12.0.0+1
|
||||
device_info_plus: ^11.5.0
|
||||
ffigen: ^19.0.0
|
||||
shared_preferences: ^2.2.3
|
||||
|
||||
dev_dependencies:
|
||||
|
|
@ -62,7 +61,7 @@ dev_dependencies:
|
|||
# activated in the `analysis_options.yaml` file located at the root of your
|
||||
# package. See that file for information about deactivating specific lint
|
||||
# rules and activating additional ones.
|
||||
flutter_lints: ^2.0.0
|
||||
flutter_lints: ^5.0.0
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ project(storyvm LANGUAGES CXX C)
|
|||
add_library(storyvm
|
||||
SHARED
|
||||
./storyvm.cpp
|
||||
../../firmware/chip32/chip32_vm.c
|
||||
../../core/chip32/chip32_vm.c
|
||||
)
|
||||
|
||||
include_directories(../../firmware/chip32 ../../shared)
|
||||
include_directories(../../core/chip32 ../../shared)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue