diff --git a/library/build.gradle.kts b/library/build.gradle.kts index dc2df62..5cafddd 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -11,11 +11,11 @@ plugins { group = "org.sessionfoundation" version = System.getenv("VERSION") ?: "dev-snapshot" -val protobufVersion = "4.33.1" +val protobufVersion = "4.34.0" android { namespace = "org.sessionfoundation.libsession_util" - compileSdk = 35 + compileSdk = 36 defaultConfig { minSdk = 26 @@ -24,7 +24,12 @@ android { externalNativeBuild { cmake { - arguments += listOf("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON", "-DCMAKE_POLICY_VERSION_MINIMUM=3.5") + arguments += listOf( + "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON", + "-DCMAKE_POLICY_VERSION_MINIMUM=3.5", + "-DENABLE_NETWORKING=OFF", + "-DENABLE_NETWORKING_SROUTER=OFF", + ) targets("session_util") } } @@ -137,7 +142,7 @@ dependencies { androidTestImplementation("androidx.test.ext:junit:1.3.0") implementation("androidx.annotation:annotation:1.9.1") - implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.9.0") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.10.0") api("com.google.protobuf:protobuf-java:$protobufVersion") diff --git a/libsession-util b/libsession-util index 09aeda6..bb4edf8 160000 --- a/libsession-util +++ b/libsession-util @@ -1 +1 @@ -Subproject commit 09aeda690d2ef8066b438497ddbf9495595fbdab +Subproject commit bb4edf8d694bfcec75c348cffde013a5350fb1b3