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/
|
story-editor/AppDir/
|
||||||
|
|
||||||
core/story-manager/tests/build
|
core/story-manager/tests/build
|
||||||
|
story-player/android/build/reports/problems/problems-report.html
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ if (flutterVersionName == null) {
|
||||||
android {
|
android {
|
||||||
namespace "org.openstoryteller.story_player"
|
namespace "org.openstoryteller.story_player"
|
||||||
compileSdkVersion flutter.compileSdkVersion
|
compileSdkVersion flutter.compileSdkVersion
|
||||||
ndkVersion flutter.ndkVersion
|
// ndkVersion flutter.ndkVersion
|
||||||
|
ndkVersion = "27.0.12077973"
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
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 {
|
plugins {
|
||||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||||
id "com.android.application" version "7.3.0" apply false
|
id "com.android.application" version "8.9.0" apply false
|
||||||
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
|
id "org.jetbrains.kotlin.android" version "2.1.21" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
include ":app"
|
include ":app"
|
||||||
|
|
@ -6,7 +6,7 @@ import 'dart:convert';
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
import 'package:saf/saf.dart';
|
|
||||||
import 'package:path_provider/path_provider.dart';
|
import 'package:path_provider/path_provider.dart';
|
||||||
import 'package:audioplayers/audioplayers.dart';
|
import 'package:audioplayers/audioplayers.dart';
|
||||||
import 'package:file_picker/file_picker.dart';
|
import 'package:file_picker/file_picker.dart';
|
||||||
|
|
|
||||||
|
|
@ -37,20 +37,19 @@ dependencies:
|
||||||
cupertino_icons: ^1.0.2
|
cupertino_icons: ^1.0.2
|
||||||
shelf: ^1.4.1
|
shelf: ^1.4.1
|
||||||
shelf_router: ^1.1.4
|
shelf_router: ^1.1.4
|
||||||
mime: ^1.0.4
|
mime: ^2.0.0
|
||||||
path: ^1.8.3
|
path: ^1.8.3
|
||||||
path_provider: ^2.1.2
|
path_provider: ^2.1.5
|
||||||
saf: ^1.0.3+4
|
|
||||||
ffi: ^2.1.0
|
ffi: ^2.1.0
|
||||||
logger: ^2.2.0
|
logger: ^2.2.0
|
||||||
file_picker: ^8.0.3
|
file_picker: ^10.2.0
|
||||||
dqoi: ^1.3.0
|
dqoi: ^1.3.0
|
||||||
audioplayers: ^5.2.1
|
audioplayers: ^6.5.0
|
||||||
event_bus: ^2.0.0
|
event_bus: ^2.0.0
|
||||||
external_path: ^1.0.3
|
external_path: ^2.2.0
|
||||||
permission_handler: ^10.4.5
|
permission_handler: ^12.0.0+1
|
||||||
device_info_plus: ^10.1.0
|
device_info_plus: ^11.5.0
|
||||||
ffigen: ^12.0.0
|
ffigen: ^19.0.0
|
||||||
shared_preferences: ^2.2.3
|
shared_preferences: ^2.2.3
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
|
@ -62,7 +61,7 @@ dev_dependencies:
|
||||||
# activated in the `analysis_options.yaml` file located at the root of your
|
# activated in the `analysis_options.yaml` file located at the root of your
|
||||||
# package. See that file for information about deactivating specific lint
|
# package. See that file for information about deactivating specific lint
|
||||||
# rules and activating additional ones.
|
# 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
|
# For information on the generic Dart part of this file, see the
|
||||||
# following page: https://dart.dev/tools/pub/pubspec
|
# following page: https://dart.dev/tools/pub/pubspec
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ project(storyvm LANGUAGES CXX C)
|
||||||
add_library(storyvm
|
add_library(storyvm
|
||||||
SHARED
|
SHARED
|
||||||
./storyvm.cpp
|
./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