@@ -12,7 +12,6 @@ android {
12
12
namespace " io.syslogic.demo.colorpicker"
13
13
applicationId " io.syslogic.demo.colorpicker"
14
14
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
15
- buildToolsVersion build_tools_version
16
15
versionCode version_code
17
16
versionName version_name
18
17
targetSdk target_sdk
@@ -26,6 +25,8 @@ android {
26
25
jvmTarget = 17
27
26
}
28
27
composeOptions {
28
+ // See the "Compose to Kotlin Compatibility Map" for compatible versions:
29
+ // https://developer.android.com/jetpack/androidx/releases/compose-kotlin
29
30
kotlinCompilerExtensionVersion kotlin_compiler_extension_version
30
31
}
31
32
buildFeatures {
@@ -52,7 +53,7 @@ android {
52
53
53
54
dependencies {
54
55
55
- // Either Jitpack repository or project module :library.
56
+ // Use either Jitpack repository or project module :library (local) .
56
57
// implementation "io.syslogic:androidx-colorpicker:$version_name"
57
58
implementation project(path : ' :library' )
58
59
@@ -62,12 +63,14 @@ dependencies {
62
63
implementation " androidx.appcompat:appcompat:$appcompat_version "
63
64
implementation " androidx.preference:preference-ktx:$preference_version "
64
65
66
+ androidTestImplementation " androidx.navigation:navigation-testing:$nav_version "
65
67
implementation " androidx.navigation:navigation-runtime-ktx:$nav_version "
66
68
implementation " androidx.navigation:navigation-fragment-ktx:$nav_version "
67
69
implementation " androidx.navigation:navigation-ui-ktx:$nav_version "
68
70
69
71
// https://mvnrepository.com/artifact/androidx.compose
70
- implementation " androidx.activity:activity-compose:1.7.1"
72
+ // https://developer.android.com/jetpack/androidx/releases/compose
73
+ implementation " androidx.activity:activity-compose:1.7.2"
71
74
implementation " androidx.compose.ui:ui:$compose_version "
72
75
implementation " androidx.compose.runtime:runtime:$compose_version "
73
76
implementation " androidx.compose.material:material:$compose_version "
@@ -76,7 +79,6 @@ dependencies {
76
79
77
80
testImplementation " junit:junit:$junit_version "
78
81
androidTestImplementation " androidx.test.ext:junit:1.1.5"
79
- androidTestImplementation " androidx.navigation:navigation-testing:$nav_version "
80
82
androidTestImplementation " androidx.test.uiautomator:uiautomator:2.2.0"
81
83
androidTestImplementation " androidx.test.espresso:espresso-core:3.5.1"
82
84
0 commit comments