diff --git a/examples/example-clientlib-ktx-app/app/build.gradle b/examples/example-clientlib-ktx-app/app/build.gradle index 30bd081a5..6458319f0 100644 --- a/examples/example-clientlib-ktx-app/app/build.gradle +++ b/examples/example-clientlib-ktx-app/app/build.gradle @@ -6,12 +6,13 @@ plugins { } android { - compileSdk 33 + compileSdk 34 + namespace 'com.solanamobile.ktxclientsample' defaultConfig { applicationId "com.solanamobile.ktxclientsample" minSdk 27 - targetSdk 33 + targetSdk 34 versionCode 1 versionName "1.0" @@ -66,17 +67,17 @@ android { dependencies { implementation project(path: ':clientlib-ktx') - implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.core:core-ktx:1.12.0' implementation "androidx.compose.runtime:runtime:$compose_version" implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" implementation "androidx.compose.material:material:$compose_material_version" implementation "androidx.compose.material:material-icons-core:$compose_material_version" implementation "androidx.compose.material:material-icons-extended:$compose_material_version" - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0' - implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0' - implementation 'androidx.activity:activity-compose:1.5.0' - implementation "androidx.hilt:hilt-navigation-compose:1.0.0" + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0' + implementation 'androidx.activity:activity-compose:1.8.2' + implementation "androidx.hilt:hilt-navigation-compose:1.1.0" implementation "com.google.dagger:hilt-android:2.50" kapt "com.google.dagger:hilt-compiler:2.50" @@ -87,10 +88,10 @@ dependencies { testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.5' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version" -} \ No newline at end of file +} diff --git a/examples/example-clientlib-ktx-app/app/src/main/AndroidManifest.xml b/examples/example-clientlib-ktx-app/app/src/main/AndroidManifest.xml index 4446c1dd0..a91c66f38 100644 --- a/examples/example-clientlib-ktx-app/app/src/main/AndroidManifest.xml +++ b/examples/example-clientlib-ktx-app/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools"> - \ No newline at end of file + diff --git a/examples/example-clientlib-ktx-app/build.gradle b/examples/example-clientlib-ktx-app/build.gradle index 4e09195f8..6b0081c68 100644 --- a/examples/example-clientlib-ktx-app/build.gradle +++ b/examples/example-clientlib-ktx-app/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { - compose_version = '1.3.3' - compose_material_version = '1.3.1' + compose_version = '1.6.0' + compose_material_version = '1.6.0' compose_compiler_version = '1.5.8' } @@ -11,8 +11,8 @@ buildscript { } plugins { - id 'com.android.application' version '7.2.2' apply false - id 'com.android.library' version '7.2.2' apply false + id 'com.android.application' version '8.2.0' apply false + id 'com.android.library' version '8.2.0' apply false id 'org.jetbrains.kotlin.android' version '1.9.22' apply false } diff --git a/examples/example-clientlib-ktx-app/gradle.properties b/examples/example-clientlib-ktx-app/gradle.properties index cd0519bb2..cccbfe6f2 100644 --- a/examples/example-clientlib-ktx-app/gradle.properties +++ b/examples/example-clientlib-ktx-app/gradle.properties @@ -20,4 +20,6 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file +android.nonTransitiveRClass=true +android.defaults.buildfeatures.buildconfig=true +android.nonFinalResIds=false diff --git a/examples/example-clientlib-ktx-app/gradle/wrapper/gradle-wrapper.properties b/examples/example-clientlib-ktx-app/gradle/wrapper/gradle-wrapper.properties index e6c079b9a..651d53afd 100644 --- a/examples/example-clientlib-ktx-app/gradle/wrapper/gradle-wrapper.properties +++ b/examples/example-clientlib-ktx-app/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Fri Jul 15 08:42:29 PDT 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME