Skip to content

Commit 679ce00

Browse files
update gradle for image lib
1 parent 4689393 commit 679ce00

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ android {
4848

4949
dependencies {
5050

51+
implementation project(':image')
52+
5153
implementation 'androidx.core:core-ktx:1.8.0'
5254
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
5355

image/build.gradle

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,35 @@ android {
2828
kotlinOptions {
2929
jvmTarget = '1.8'
3030
}
31+
buildFeatures {
32+
compose true
33+
}
34+
composeOptions {
35+
kotlinCompilerExtensionVersion compose_version
36+
}
37+
38+
packagingOptions {
39+
resources {
40+
excludes += '/META-INF/{AL2.0,LGPL2.1}'
41+
}
42+
}
3143
}
3244

3345
dependencies {
3446

3547
implementation 'androidx.core:core-ktx:1.8.0'
36-
implementation 'androidx.appcompat:appcompat:1.4.2'
37-
implementation 'com.google.android.material:material:1.6.1'
48+
49+
implementation 'com.github.SmartToolFactory:Compose-Extended-Gestures:1.2.0'
50+
51+
// Jetpack Compose
52+
implementation "androidx.compose.ui:ui:$compose_version"
53+
implementation "androidx.compose.ui:ui-tooling:$compose_version"
54+
implementation "androidx.compose.material:material:$compose_version"
55+
implementation "androidx.compose.runtime:runtime:$compose_version"
56+
3857
testImplementation 'junit:junit:4.13.2'
3958
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
4059
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
60+
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
61+
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
4162
}

0 commit comments

Comments
 (0)