Skip to content

Commit 7198b78

Browse files
committed
build: upgrade dependencies
1 parent fa05d67 commit 7198b78

5 files changed

Lines changed: 18 additions & 20 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ if (keystoreFileExists) {
2626
}
2727

2828
android {
29-
compileSdk = 35
29+
compileSdk = 36
3030

3131
defaultConfig {
3232
applicationId = "com.github.libretube"
3333
minSdk = 26
34-
targetSdk = 35
34+
targetSdk = 36
3535
versionCode = 65
3636
versionName = "0.30.0"
3737
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

app/src/main/java/com/github/libretube/api/NewPipeMediaServiceRepository.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ import com.github.libretube.ui.dialogs.ShareDialog.Companion.YOUTUBE_FRONTEND_UR
3131
import kotlinx.coroutines.Dispatchers
3232
import kotlinx.coroutines.async
3333
import kotlinx.coroutines.withContext
34-
import kotlinx.datetime.toKotlinInstant
3534
import kotlinx.serialization.Serializable
36-
import kotlinx.serialization.encodeToString
3735
import org.schabi.newpipe.extractor.InfoItem
3836
import org.schabi.newpipe.extractor.Page
3937
import org.schabi.newpipe.extractor.channel.ChannelInfo
@@ -54,6 +52,7 @@ import org.schabi.newpipe.extractor.stream.StreamInfo
5452
import org.schabi.newpipe.extractor.stream.StreamInfoItem
5553
import org.schabi.newpipe.extractor.stream.ContentAvailability
5654
import org.schabi.newpipe.extractor.stream.VideoStream
55+
import kotlin.time.toKotlinInstant
5756

5857

5958
private fun VideoStream.toPipedStream() = PipedStream(

app/src/main/java/com/github/libretube/ui/adapters/SearchSuggestionsAdapter.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import com.github.libretube.R
1111
import com.github.libretube.db.obj.SearchHistoryItem
1212
import com.github.libretube.enums.SearchDataType
1313
import com.github.libretube.obj.SearchDataItem
14-
import okhttp3.internal.toImmutableList
1514
import kotlin.collections.plus
1615

1716
class SearchSuggestionsAdapter(
@@ -31,7 +30,7 @@ class SearchSuggestionsAdapter(
3130
) {
3231
if (historyList == null && suggestionList == null) return
3332

34-
val oldList = currentList.toImmutableList()
33+
val oldList = currentList.toList()
3534
val histories = historyList ?: oldList.filter { it.type == SearchDataType.HISTORY }
3635
val suggestions = suggestionList ?: oldList.filter { it.type == SearchDataType.SUGGESTION }
3736
val newList = (histories + suggestions).distinctBy { it.query }

baselineprofile/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
android {
99
namespace = "com.github.libretube.baselineprofile"
10-
compileSdk = 34
10+
compileSdk = 36
1111

1212
compileOptions {
1313
sourceCompatibility = JavaVersion.VERSION_17
@@ -22,7 +22,7 @@ android {
2222

2323
defaultConfig {
2424
minSdk = 28
25-
targetSdk = 34
25+
targetSdk = 36
2626

2727
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2828
}

gradle/libs.versions.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
[versions]
22
appcompat = "1.7.1"
3-
core = "1.13.1"
3+
core = "1.17.0"
44
documentfile = "1.1.0"
55
gradle = "9.0.1"
66
junit = "4.13.2"
77
kotlin = "2.3.10"
88
ksp = "2.3.5"
9-
lifecycle = "2.8.7"
9+
lifecycle = "2.10.0"
1010
constraintlayout = "2.2.1"
11-
loggingInterceptor = "4.12.0"
11+
loggingInterceptor = "5.3.2"
1212
material = "1.14.0-alpha09"
1313
navigation = "2.9.7"
1414
newpipeextractor = "fc63085"
1515
preference = "1.2.1"
1616
extJunit = "1.3.0"
1717
espresso = "3.7.0"
18-
workRuntime = "2.10.5"
19-
retrofit = "2.11.0"
18+
workRuntime = "2.11.1"
19+
retrofit = "3.0.0"
2020
desugaring = "2.1.5"
21-
coil = "3.0.4"
22-
room = "2.6.1"
23-
kotlinxSerialization = "1.6.3"
24-
kotlinxDatetime = "0.6.2"
21+
coil = "3.3.0"
22+
room = "2.8.4"
23+
kotlinxSerialization = "1.10.0"
24+
kotlinxDatetime = "0.7.1"
2525
media = "1.7.1"
26-
media3 = "1.9.1"
27-
activity = "1.9.3"
26+
media3 = "1.9.2"
27+
activity = "1.12.4"
2828
fragment = "1.8.9"
2929
uiautomator = "2.3.0"
3030
benchmarkMacroJunit4 = "1.4.1"
3131
baselineprofile = "1.5.0-alpha03"
3232
profileinstaller = "1.4.1"
33-
paging = "3.4.0"
33+
paging = "3.4.1"
3434
collection = "1.5.0"
3535
swiperefreshlayout = "1.2.0"
3636
splashscreen = "1.2.0"

0 commit comments

Comments
 (0)