update most deps (android, kotlin, etc)

This commit is contained in:
Kieran W 2025-02-08 16:16:13 +00:00
parent 4ebcde6a82
commit a3bfa5a58f
5 changed files with 20 additions and 35 deletions

View File

@ -33,8 +33,8 @@ tasks.register("genDocs") {
android { android {
compileSdk = 34 compileSdk = 35
buildToolsVersion = "34.0.0" buildToolsVersion = "35.0.0"
namespace = "com.fredhappyface.ewesticker" namespace = "com.fredhappyface.ewesticker"
kotlinOptions { kotlinOptions {
@ -72,21 +72,21 @@ android {
} }
dependencies { dependencies {
dokkaPlugin("org.jetbrains.dokka:android-documentation-plugin:1.9.20") dokkaPlugin("org.jetbrains.dokka:android-documentation-plugin:2.0.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.23") implementation("org.jetbrains.kotlin:kotlin-stdlib:2.1.10")
implementation("androidx.core:core-ktx:1.12.0") implementation("androidx.core:core-ktx:1.15.0")
implementation("androidx.appcompat:appcompat:1.6.1") implementation("androidx.appcompat:appcompat:1.7.0")
implementation("com.google.android.material:material:1.11.0") implementation("com.google.android.material:material:1.12.0")
implementation("androidx.preference:preference-ktx:1.2.1") implementation("androidx.preference:preference-ktx:1.2.1")
implementation("io.coil-kt:coil:2.6.0") implementation("io.coil-kt:coil:2.7.0")
implementation("io.coil-kt:coil-gif:2.6.0") implementation("io.coil-kt:coil-gif:2.7.0")
implementation("io.coil-kt:coil-video:2.6.0") implementation("io.coil-kt:coil-video:2.7.0")
implementation("androidx.gridlayout:gridlayout:1.0.0") implementation("androidx.gridlayout:gridlayout:1.0.0")
implementation("io.noties.markwon:core:4.6.2") implementation("io.noties.markwon:core:4.6.2")
androidTestImplementation("junit:junit:4.13.2") androidTestImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:core:1.5.0") androidTestImplementation("androidx.test:core:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
} }
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> { configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {

View File

@ -106,8 +106,10 @@ class ScreenshotTest {
// Open an OutputStream to the newly created image // Open an OutputStream to the newly created image
val os: OutputStream? = context.contentResolver.openOutputStream(uri) val os: OutputStream? = context.contentResolver.openOutputStream(uri)
// Compress and save the bitmap to the OutputStream // Compress and save the bitmap to the OutputStream\
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, os) if (os != null) {
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, os)
}
os?.close() os?.close()
// Mark the image as non-pending // Mark the image as non-pending

View File

@ -1,17 +0,0 @@
package com.fredhappyface.ewesticker
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.`is`
import org.junit.Test
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertThat(2 + 2, `is`(4))
}
}

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id("com.android.application") version "8.5.2" apply false id("com.android.application") version "8.5.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false id("org.jetbrains.kotlin.android") version "2.1.0" apply false
id("org.jetbrains.dokka") version "1.9.20" id("org.jetbrains.dokka") version "1.9.20"
id("org.jlleitschuh.gradle.ktlint") version "11.6.0" id("org.jlleitschuh.gradle.ktlint") version "11.6.0"
} }

View File

@ -1,6 +1,6 @@
#Thu Mar 21 23:12:37 GMT 2024 #Sat Feb 08 15:53:44 GMT 2025
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists