minor cleanups

This commit is contained in:
Christien Rioux 2025-02-19 14:30:26 -05:00
parent 230978b297
commit 604ec9cfdd
2 changed files with 6 additions and 8 deletions

View file

@ -5,10 +5,9 @@ pluginManagement {
def flutterSdkPath = properties.getProperty("flutter.sdk") def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties" assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath return flutterSdkPath
} }()
settings.ext.flutterSdkPath = flutterSdkPath()
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories { repositories {
google() google()
@ -19,8 +18,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.8.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false id "org.jetbrains.kotlin.android" version "1.9.25" apply false
} }
include ":app" include ":app"

View file

@ -49,8 +49,7 @@ Future<Map<String, dynamic>> getDefaultVeilidPlatformConfig(
return VeilidFFIConfig( return VeilidFFIConfig(
logging: VeilidFFIConfigLogging( logging: VeilidFFIConfigLogging(
terminal: VeilidFFIConfigLoggingTerminal( terminal: VeilidFFIConfigLoggingTerminal(
enabled: enabled: false,
kIsDebugMode && (Platform.isIOS || Platform.isAndroid),
level: kIsDebugMode level: kIsDebugMode
? VeilidConfigLogLevel.debug ? VeilidConfigLogLevel.debug
: VeilidConfigLogLevel.info, : VeilidConfigLogLevel.info,