Skip to content

Commit

Permalink
Update third party dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
pandulapeter committed Nov 11, 2024
1 parent f07df46 commit d553fdf
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 23 deletions.
21 changes: 11 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[versions]
androidx-annotation = "1.8.2" # https://developer.android.com/jetpack/androidx/releases/annotation
androidx-annotation = "1.9.1" # https://developer.android.com/jetpack/androidx/releases/annotation
androidx-appcompat = "1.7.0" # https://developer.android.com/jetpack/androidx/releases/appcompat
androidx-constraintlayout = "2.1.4" # https://developer.android.com/jetpack/androidx/releases/constraintlayout
androidx-lifecycle = "2.8.5" # https://developer.android.com/jetpack/androidx/releases/lifecycle
androidx-constraintlayout = "2.2.0" # https://developer.android.com/jetpack/androidx/releases/constraintlayout
androidx-lifecycle = "2.8.7" # https://developer.android.com/jetpack/androidx/releases/lifecycle
androidx-recyclerview = "1.3.2" # https://developer.android.com/jetpack/androidx/releases/recyclerview
coil = "2.7.0" # https://github.com/coil-kt/coil/releases
gradle = "8.5.2" # https://developer.android.com/studio/releases/gradle-plugin
kotlin-coroutines = "1.8.1" # https://github.com/Kotlin/kotlinx.coroutines/releases
kotlin-gradle = "2.0.20" # https://kotlinlang.org/docs/releases.html#release-details
kotlin-ksp = "2.0.20-1.0.25" # https://github.com/google/ksp/releases
coil = "3.0.2" # https://github.com/coil-kt/coil/releases
gradle = "8.7.2" # https://developer.android.com/studio/releases/gradle-plugin
kotlin-coroutines = "1.9.0" # https://github.com/Kotlin/kotlinx.coroutines/releases
kotlin-gradle = "2.0.21" # https://kotlinlang.org/docs/releases.html#release-details
kotlin-ksp = "2.0.21-1.0.27" # https://github.com/google/ksp/releases
square-moshi = "1.15.1" # https://github.com/square/moshi/tags
square-okhttp = "4.12.0" # https://github.com/square/okhttp/tags

Expand All @@ -34,8 +34,9 @@ androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmode
androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "androidx-multidex" }
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidx-recyclerview" }
androidx-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "androidx-splashscreen" }
coil = { module = "io.coil-kt:coil", version.ref = "coil" }
coil-video = { module = "io.coil-kt:coil-video", version.ref = "coil" }
coil = { module = "io.coil-kt.coil3:coil", version.ref = "coil" }
coil-network = { module = "io.coil-kt.coil3:coil-network-okhttp", version.ref = "coil" }
coil-video = { module = "io.coil-kt.coil3:coil-video", version.ref = "coil" }
google-material = { module = "com.google.android.material:material", version.ref = "google-material" }
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
koin = { module = "io.insert-koin:koin-android", version.ref = "koin" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
1 change: 1 addition & 0 deletions internal-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies {
implementation libs.androidx.lifecycle.process
implementation libs.androidx.lifecycle.viewmodel
implementation libs.coil
implementation libs.coil.network
implementation libs.coil.video
implementation libs.square.moshi
ksp libs.square.moshi.codegen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import coil.ImageLoader
import coil.decode.VideoFrameDecoder
import coil3.ImageLoader
import coil3.video.VideoFrameDecoder
import com.pandulapeter.beagle.BeagleCore
import com.pandulapeter.beagle.common.configuration.Appearance
import com.pandulapeter.beagle.common.configuration.Behavior
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.pandulapeter.beagle.core.view.bugReport.list.gallery
import android.view.ViewGroup
import android.widget.CompoundButton
import androidx.recyclerview.widget.RecyclerView
import coil.load
import coil3.load
import com.pandulapeter.beagle.core.databinding.BeagleItemBugReportGalleryImageBinding
import com.pandulapeter.beagle.core.util.extension.getScreenCapturesFolder
import com.pandulapeter.beagle.utils.consume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package com.pandulapeter.beagle.core.view.bugReport.list.gallery
import android.view.ViewGroup
import android.widget.CompoundButton
import androidx.recyclerview.widget.RecyclerView
import coil.request.ImageRequest
import coil3.request.ImageRequest
import coil3.target.ImageViewTarget
import com.pandulapeter.beagle.BeagleCore
import com.pandulapeter.beagle.core.databinding.BeagleItemBugReportGalleryVideoBinding
import com.pandulapeter.beagle.core.util.extension.getScreenCapturesFolder
Expand Down Expand Up @@ -54,7 +55,7 @@ internal class BugReportVideoViewHolder private constructor(
BeagleCore.implementation.videoThumbnailLoader.execute(
ImageRequest.Builder(context)
.data(context.getScreenCapturesFolder().resolve(uiModel.fileName))
.target(imageView)
.target(ImageViewTarget(imageView))
.build()
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import android.widget.ImageView
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.FragmentManager
import coil.load
import coil.request.ImageRequest
import coil3.load
import coil3.request.ImageRequest
import coil3.target.ImageViewTarget
import com.pandulapeter.beagle.BeagleCore
import com.pandulapeter.beagle.core.R
import com.pandulapeter.beagle.core.databinding.BeagleDialogFragmentMediaPreviewBinding
Expand Down Expand Up @@ -63,7 +64,7 @@ class MediaPreviewDialogFragment : DialogFragment(), DeleteConfirmationDialogFra
BeagleCore.implementation.videoThumbnailLoader.execute(
ImageRequest.Builder(context)
.data(context.getScreenCapturesFolder().resolve(fileName))
.target(this@run)
.target(ImageViewTarget(this@run))
.listener { _, _ -> setDialogSizeFromImage(this@run) }
.build()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.pandulapeter.beagle.core.view.gallery.list
import android.view.ViewGroup
import android.widget.CompoundButton
import androidx.recyclerview.widget.RecyclerView
import coil.load
import coil3.load
import com.pandulapeter.beagle.core.databinding.BeagleItemGalleryImageBinding
import com.pandulapeter.beagle.core.util.extension.getScreenCapturesFolder
import com.pandulapeter.beagle.core.util.extension.visible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package com.pandulapeter.beagle.core.view.gallery.list
import android.view.ViewGroup
import android.widget.CompoundButton
import androidx.recyclerview.widget.RecyclerView
import coil.request.ImageRequest
import coil3.request.ImageRequest
import coil3.target.ImageViewTarget
import com.pandulapeter.beagle.BeagleCore
import com.pandulapeter.beagle.core.databinding.BeagleItemGalleryVideoBinding
import com.pandulapeter.beagle.core.util.extension.getScreenCapturesFolder
Expand Down Expand Up @@ -56,7 +57,7 @@ internal class VideoViewHolder private constructor(
BeagleCore.implementation.videoThumbnailLoader.execute(
ImageRequest.Builder(context)
.data(context.getScreenCapturesFolder().resolve(uiModel.fileName))
.target(binding.beagleMediaView.imageView)
.target(ImageViewTarget(binding.beagleMediaView.imageView))
.build()
)
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/module-android.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
}
lint.abortOnError false
kotlin{
jvmToolchain(17)
jvmToolchain(21)
}
publishing {
singleVariant("release") {
Expand Down

0 comments on commit d553fdf

Please sign in to comment.