Skip to content

Commit 004cfbe

Browse files
committed
Update dependencies and enable dependency verification in Gradle
Here's another attempt to enable Gradle dependency verification. I've tried to do this a couple of times before, but always ran into issues. With a helper script borrowed from a different project, hopefully this will finally work reliably. Every time we update Gradle or a dependency, the script I mentioned needs to be run to update the list of checksums. The script runs the build, the tests and the instrumented tests. This is necessary because apparently Gradle is not able to discover all dependencies without actually running the build tasks. It's a little bit annoying that this Gradle feature is so half-baked that we need a helper script to make things work, but I think it's worth it.
1 parent 3c124de commit 004cfbe

File tree

6 files changed

+3897
-111
lines changed

6 files changed

+3897
-111
lines changed

app/build.gradle

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ aboutLibraries {
133133
}
134134

135135
dependencies {
136-
def cameraxVersion = '1.3.1'
136+
def cameraxVersion = '1.3.2'
137137
def glideVersion = '4.16.0'
138-
def guavaVersion = '33.0.0'
139-
def hiltVersion = '2.50'
138+
def guavaVersion = '33.1.0'
139+
def hiltVersion = '2.51.1'
140140
def junitVersion = '4.13.2'
141141
def libsuVersion = '5.2.2'
142142

@@ -154,7 +154,7 @@ dependencies {
154154
implementation "androidx.core:core:1.12.0"
155155
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
156156
implementation 'androidx.documentfile:documentfile:1.0.1'
157-
implementation "androidx.lifecycle:lifecycle-process:2.6.2"
157+
implementation "androidx.lifecycle:lifecycle-process:2.7.0"
158158
implementation "androidx.preference:preference:1.2.1"
159159
implementation 'androidx.recyclerview:recyclerview:1.3.2'
160160
implementation "androidx.viewpager2:viewpager2:1.0.0"
@@ -171,18 +171,18 @@ dependencies {
171171
implementation "com.github.topjohnwu.libsu:io:${libsuVersion}"
172172
implementation "com.google.guava:guava:${guavaVersion}-android"
173173
implementation 'com.google.android.material:material:1.11.0'
174-
implementation 'com.google.protobuf:protobuf-javalite:3.25.1'
175-
implementation 'com.google.zxing:core:3.5.2'
176-
implementation("com.mikepenz:aboutlibraries:11.1.0") {
174+
implementation 'com.google.protobuf:protobuf-javalite:4.26.1'
175+
implementation 'com.google.zxing:core:3.5.3'
176+
implementation('com.mikepenz:aboutlibraries:11.1.1') {
177177
exclude group: 'com.mikepenz', module: 'aboutlibraries-core'
178178
}
179-
implementation "com.mikepenz:aboutlibraries-core-android:11.1.0"
180-
implementation 'com.nulab-inc:zxcvbn:1.8.2'
179+
implementation 'com.mikepenz:aboutlibraries-core-android:11.1.1'
180+
implementation 'com.nulab-inc:zxcvbn:1.9.0'
181181
implementation 'de.hdodenhof:circleimageview:3.1.0'
182182
implementation 'net.lingala.zip4j:zip4j:2.11.5'
183183
implementation 'info.guardianproject.trustedintents:trustedintents:0.2'
184-
implementation 'org.bouncycastle:bcprov-jdk18on:1.77'
185-
implementation "org.simpleflatmapper:sfm-csv:8.2.3"
184+
implementation 'org.bouncycastle:bcprov-jdk18on:1.78'
185+
implementation 'org.simpleflatmapper:sfm-csv:9.0.0'
186186

187187
androidTestAnnotationProcessor "com.google.dagger:hilt-android-compiler:$hiltVersion"
188188
androidTestImplementation "com.google.dagger:hilt-android-testing:$hiltVersion"
@@ -199,8 +199,8 @@ dependencies {
199199
testImplementation 'androidx.test:core:1.5.0'
200200
testImplementation "com.google.guava:guava:${guavaVersion}-jre"
201201
testImplementation "junit:junit:${junitVersion}"
202-
testImplementation 'org.json:json:20231013'
203-
testImplementation 'org.robolectric:robolectric:4.11.1'
202+
testImplementation 'org.json:json:20240303'
203+
testImplementation 'org.robolectric:robolectric:4.12.1'
204204

205205
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
206206
}

0 commit comments

Comments
 (0)