upgrade deps
This commit is contained in:
@@ -2,7 +2,7 @@ group = "eu.weblibre.flutter_mozilla_components"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.20"
|
||||
ext.kotlin_version = "2.3.10"
|
||||
ext.mozillaComponentsVersion = '148.0'
|
||||
|
||||
repositories {
|
||||
@@ -143,12 +143,12 @@ dependencies {
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.2.0'
|
||||
implementation 'androidx.preference:preference-ktx:1.2.1'
|
||||
implementation 'com.google.android.material:material:1.13.0'
|
||||
implementation 'com.mikepenz:iconics-core:5.4.0'
|
||||
implementation 'com.mikepenz:community-material-typeface:7.0.96.1-kotlin@aar'
|
||||
implementation 'com.mikepenz:iconics-core:5.5.0'
|
||||
implementation 'com.mikepenz:community-material-typeface:7.0.96.2-kotlin@aar'
|
||||
//https://stackoverflow.com/questions/73782320/onbackinvokedcallback-is-not-enabled-for-the-application-in-set-androidenableo
|
||||
implementation 'androidx.activity:activity-ktx:1.12.3'
|
||||
implementation 'androidx.paging:paging-runtime-ktx:3.4.0'
|
||||
implementation 'androidx.activity:activity-ktx:1.12.4'
|
||||
implementation 'androidx.paging:paging-runtime-ktx:3.4.1'
|
||||
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.mockito:mockito-core:5.15.2")
|
||||
testImplementation("org.mockito:mockito-core:5.22.0")
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ pluginManagement {
|
||||
plugins {
|
||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||
id "com.android.application" version "8.13.2" apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.2.20" apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.3.10" apply false
|
||||
}
|
||||
|
||||
include ":app"
|
||||
|
||||
@@ -18,7 +18,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^2.8.0
|
||||
pigeon: ^26.1.7
|
||||
pigeon: ^26.1.10
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@@ -2,7 +2,7 @@ group = "eu.weblibre.flutter_tor"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.20"
|
||||
ext.kotlin_version = "2.3.10"
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
@@ -50,11 +50,11 @@ android {
|
||||
|
||||
dependencies {
|
||||
// Tor core libraries
|
||||
implementation("info.guardianproject:tor-android:0.4.8.22")
|
||||
implementation("info.guardianproject:tor-android:0.4.9.5")
|
||||
implementation("info.guardianproject:jtorctl:0.4.5.7")
|
||||
|
||||
// Pluggable transports
|
||||
implementation("com.netzarchitekten:IPtProxy:4.3.0")
|
||||
implementation("com.netzarchitekten:IPtProxy:5.2.0")
|
||||
|
||||
// Coroutines for async operations
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
|
||||
@@ -62,7 +62,7 @@ android {
|
||||
|
||||
// Testing
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||
testImplementation("org.mockito:mockito-core:5.22.0")
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
||||
+15
-2
@@ -4,7 +4,7 @@ import android.content.Context
|
||||
import android.util.Log
|
||||
import IPtProxy.Controller
|
||||
import IPtProxy.IPtProxy
|
||||
import IPtProxy.OnTransportStopped
|
||||
import IPtProxy.OnTransportEvents
|
||||
import java.io.File
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,20 @@ class PluggableTransportManager(private val context: Context) {
|
||||
private val stateDir = File(context.cacheDir, "iptproxy")
|
||||
private val activeTransports = mutableSetOf<String>()
|
||||
|
||||
private val statusCallback = object : OnTransportStopped {
|
||||
private val statusCallback = object : OnTransportEvents {
|
||||
override fun connected(name: String?) {
|
||||
if (name != null) {
|
||||
Log.d(TAG, "$name connected")
|
||||
}
|
||||
}
|
||||
|
||||
override fun error(name: String?, exception: Exception?) {
|
||||
if (name != null) {
|
||||
activeTransports.remove(name)
|
||||
}
|
||||
Log.e(TAG, "${name ?: "transport"} reported error: ${exception?.message}", exception)
|
||||
}
|
||||
|
||||
override fun stopped(name: String?, exception: Exception?) {
|
||||
if (name != null) {
|
||||
activeTransports.remove(name)
|
||||
|
||||
@@ -20,7 +20,7 @@ pluginManagement {
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.13.2" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.3.10" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
|
||||
@@ -16,7 +16,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^2.8.0
|
||||
pigeon: ^26.1.7
|
||||
pigeon: ^26.1.10
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@@ -2,7 +2,7 @@ group = "eu.weblibre.locale_resolver"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.20"
|
||||
ext.kotlin_version = "2.3.10"
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
@@ -49,7 +49,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||
testImplementation("org.mockito:mockito-core:5.22.0")
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
||||
@@ -20,7 +20,7 @@ pluginManagement {
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.13.2" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.3.10" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
|
||||
@@ -16,7 +16,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^2.8.0
|
||||
pigeon: ^26.1.7
|
||||
pigeon: ^26.1.10
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@@ -2,7 +2,7 @@ group = "eu.weblibre.simple_intent_receiver"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.20"
|
||||
ext.kotlin_version = "2.3.10"
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
@@ -49,7 +49,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||
testImplementation("org.mockito:mockito-core:5.22.0")
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
||||
@@ -19,7 +19,7 @@ pluginManagement {
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.13.2" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.3.10" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
|
||||
@@ -16,7 +16,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^2.8.0
|
||||
pigeon: ^26.1.7
|
||||
pigeon: ^26.1.10
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@@ -2,7 +2,7 @@ group = "eu.weblibre.speech_to_text_dialog"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = "2.2.20"
|
||||
ext.kotlin_version = "2.3.10"
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
@@ -49,7 +49,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||
testImplementation("org.mockito:mockito-core:5.22.0")
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
||||
@@ -20,7 +20,7 @@ pluginManagement {
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.13.2" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.3.10" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
|
||||
@@ -16,7 +16,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^2.8.0
|
||||
pigeon: ^26.1.7
|
||||
pigeon: ^26.1.10
|
||||
|
||||
flutter:
|
||||
plugin:
|
||||
|
||||
Reference in New Issue
Block a user