Skip to content

Commit a3bfa5a

Browse files
committed
update most deps (android, kotlin, etc)
1 parent 4ebcde6 commit a3bfa5a

File tree

5 files changed

+20
-35
lines changed

5 files changed

+20
-35
lines changed

app/build.gradle.kts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ tasks.register("genDocs") {
3333

3434

3535
android {
36-
compileSdk = 34
37-
buildToolsVersion = "34.0.0"
36+
compileSdk = 35
37+
buildToolsVersion = "35.0.0"
3838
namespace = "com.fredhappyface.ewesticker"
3939

4040
kotlinOptions {
@@ -72,21 +72,21 @@ android {
7272
}
7373

7474
dependencies {
75-
dokkaPlugin("org.jetbrains.dokka:android-documentation-plugin:1.9.20")
76-
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.23")
77-
implementation("androidx.core:core-ktx:1.12.0")
78-
implementation("androidx.appcompat:appcompat:1.6.1")
79-
implementation("com.google.android.material:material:1.11.0")
75+
dokkaPlugin("org.jetbrains.dokka:android-documentation-plugin:2.0.0")
76+
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.1.10")
77+
implementation("androidx.core:core-ktx:1.15.0")
78+
implementation("androidx.appcompat:appcompat:1.7.0")
79+
implementation("com.google.android.material:material:1.12.0")
8080
implementation("androidx.preference:preference-ktx:1.2.1")
81-
implementation("io.coil-kt:coil:2.6.0")
82-
implementation("io.coil-kt:coil-gif:2.6.0")
83-
implementation("io.coil-kt:coil-video:2.6.0")
81+
implementation("io.coil-kt:coil:2.7.0")
82+
implementation("io.coil-kt:coil-gif:2.7.0")
83+
implementation("io.coil-kt:coil-video:2.7.0")
8484
implementation("androidx.gridlayout:gridlayout:1.0.0")
8585
implementation("io.noties.markwon:core:4.6.2")
8686
androidTestImplementation("junit:junit:4.13.2")
87-
androidTestImplementation("androidx.test:core:1.5.0")
88-
androidTestImplementation("androidx.test.ext:junit:1.1.5")
89-
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
87+
androidTestImplementation("androidx.test:core:1.6.1")
88+
androidTestImplementation("androidx.test.ext:junit:1.2.1")
89+
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
9090
}
9191

9292
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {

app/src/androidTest/java/com/fredhappyface/ewesticker/ScreenshotTest.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ class ScreenshotTest {
106106
// Open an OutputStream to the newly created image
107107
val os: OutputStream? = context.contentResolver.openOutputStream(uri)
108108

109-
// Compress and save the bitmap to the OutputStream
110-
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, os)
109+
// Compress and save the bitmap to the OutputStream\
110+
if (os != null) {
111+
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, os)
112+
}
111113
os?.close()
112114

113115
// Mark the image as non-pending

app/src/test/java/com/fredhappyface/ewesticker/ExampleUnitTest.kt

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

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
33
id("com.android.application") version "8.5.2" apply false
4-
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
4+
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
55
id("org.jetbrains.dokka") version "1.9.20"
66
id("org.jlleitschuh.gradle.ktlint") version "11.6.0"
77
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Mar 21 23:12:37 GMT 2024
1+
#Sat Feb 08 15:53:44 GMT 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)