Update to SDK 35

This commit is contained in:
Reinout Meliesie 2025-01-09 17:39:13 +01:00
parent 6fc401edc2
commit db4973af25
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 9 additions and 9 deletions

View file

@ -17,12 +17,12 @@ plugins {
android { android {
namespace = "com.kernelmaft.zanbur" namespace = "com.kernelmaft.zanbur"
compileSdk = 34 compileSdk = 35
defaultConfig { defaultConfig {
applicationId = "com.kernelmaft.zanbur" applicationId = "com.kernelmaft.zanbur"
minSdk = 31 minSdk = 35
targetSdk = 34 targetSdk = 35
versionCode = 1 versionCode = 1
versionName = "1.0" versionName = "1.0"
} }
@ -47,10 +47,11 @@ android {
} }
} }
compileOptions { compileOptions {
targetCompatibility = JavaVersion . VERSION_11 // Required even though we don't have any Java sources because it needs to match Kotlin's JVM version
targetCompatibility = JavaVersion . VERSION_23
} }
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "23"
} }
buildFeatures { buildFeatures {
compose = true compose = true
@ -61,14 +62,14 @@ dependencies {
// Android runtime libraries // Android runtime libraries
implementation ( "com.google.android.material" , "material" , "1.12.0" ) implementation ( "com.google.android.material" , "material" , "1.12.0" )
implementation ( "androidx.activity" , "activity-compose" , "1.9.3" ) implementation ( "androidx.activity" , "activity-compose" , "1.9.3" )
implementation ( "androidx.core" , "core-ktx" , "1.13.1" ) implementation ( "androidx.core" , "core-ktx" , "1.15.0" )
implementation ( "androidx.compose.material3" , "material3" , "1.3.1" ) implementation ( "androidx.compose.material3" , "material3" , "1.3.1" )
implementation ( "androidx.compose.ui" , "ui" , "1.7.6" ) implementation ( "androidx.compose.ui" , "ui" , "1.7.6" )
implementation ( "androidx.compose.ui" , "ui-graphics" , "1.7.6" ) implementation ( "androidx.compose.ui" , "ui-graphics" , "1.7.6" )
debugImplementation ( "androidx.compose.ui" , "ui-tooling" , "1.7.6" ) debugImplementation ( "androidx.compose.ui" , "ui-tooling" , "1.7.6" )
implementation ( "androidx.lifecycle" , "lifecycle-runtime-ktx" , "2.8.7" ) implementation ( "androidx.lifecycle" , "lifecycle-runtime-ktx" , "2.8.7" )
implementation ( "org.jetbrains.kotlinx" , "kotlinx-coroutines-android" , "1.9.0" ) implementation ( "org.jetbrains.kotlinx" , "kotlinx-coroutines-android" , "1.10.1" )
implementation ( "org.jetbrains.kotlinx" , "kotlinx-serialization-json" , "1.7.3" ) implementation ( "org.jetbrains.kotlinx" , "kotlinx-serialization-json" , "1.8.0" )
// Other libraries // Other libraries
implementation ( "io.github.davidepianca98" , "kmqtt-common-jvm" , "1.0.0" ) implementation ( "io.github.davidepianca98" , "kmqtt-common-jvm" , "1.0.0" )
implementation ( "io.github.davidepianca98" , "kmqtt-client-jvm" , "1.0.0" ) implementation ( "io.github.davidepianca98" , "kmqtt-client-jvm" , "1.0.0" )

View file

@ -29,7 +29,6 @@ open class EdgeToEdgeActivity : ComponentActivity () {
override fun onCreate ( savedInstanceState : Bundle ? ) { override fun onCreate ( savedInstanceState : Bundle ? ) {
super . onCreate (savedInstanceState) super . onCreate (savedInstanceState)
enableEdgeToEdge ()
actionBar ?. hide () actionBar ?. hide ()
} }
} }