Skip to content

Commit b97b3fe

Browse files
committed
Jetpack Compose Added
1 parent ba7b36f commit b97b3fe

File tree

509 files changed

+18086
-10601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

509 files changed

+18086
-10601
lines changed
0 Bytes
Binary file not shown.

.idea/modules/app/NewPhotoPickerAndroid13.app.main.iml

Lines changed: 0 additions & 244 deletions
This file was deleted.

.idea/modules/photoPicker/NewPhotoPickerAndroid13.photoPicker.androidTest.iml

Lines changed: 0 additions & 202 deletions
This file was deleted.

app/build.gradle

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4-
id 'maven-publish'
54
}
65

76
android {
@@ -36,6 +35,8 @@ android {
3635
}
3736
buildFeatures {
3837
compose true
38+
viewBinding = true
39+
dataBinding = true
3940
}
4041
composeOptions {
4142
kotlinCompilerExtensionVersion '1.4.1'
@@ -57,6 +58,9 @@ dependencies {
5758
// Exclude the "plain java" json module to fix build warnings.
5859
exclude group: 'org.json', module: 'json'
5960
}
61+
62+
implementation 'com.github.ParthLotia:FilePicker:1.0.7'
63+
6064
implementation 'androidx.core:core-ktx:1.12.0'
6165
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
6266
implementation 'androidx.activity:activity-compose:1.8.2'
@@ -66,10 +70,15 @@ dependencies {
6670
implementation 'androidx.appcompat:appcompat:1.6.1'
6771
implementation 'com.google.android.material:material:1.11.0'
6872
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
73+
implementation platform('androidx.compose:compose-bom:2023.08.00')
74+
implementation 'androidx.compose.ui:ui-graphics'
75+
implementation 'androidx.compose.material3:material3'
76+
// implementation project(':photoPicker')
6977
testImplementation 'junit:junit:4.13.2'
7078
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
7179
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
7280
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_ui_version"
81+
androidTestImplementation platform('androidx.compose:compose-bom:2023.08.00')
7382
debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version"
7483
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version"
7584

@@ -91,23 +100,9 @@ dependencies {
91100

92101
implementation 'com.google.code.gson:gson:2.9.0'
93102

103+
implementation "com.google.accompanist:accompanist-permissions:0.31.1-alpha"
104+
94105

95106

96107

97108
}
98-
afterEvaluate {
99-
publishing {
100-
publications {
101-
// Creates a Maven publication called "release".
102-
release(MavenPublication) {
103-
// Applies the component for the release build variant.
104-
from components.findByName('release')
105-
106-
// You can then customize attributes of the publication as shown below.
107-
groupId = 'com.plandroid.photopicker'
108-
artifactId = 'photoPicker'
109-
version = '1.0.7'
110-
}
111-
}
112-
}
113-
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{"databinding-compiler-8.2.2.jar (androidx.databinding:databinding-compiler:8.2.2)":"INCREMENTAL_AP"}
1.4 MB
Binary file not shown.
Binary file not shown.
1.38 MB
Binary file not shown.
-311 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)