Skip to content

Commit 7b5e213

Browse files
authored
Merge pull request #2196 from Luna712/packages
Add some missing explicit packages and minor cleanup
2 parents 501186a + 4107fe1 commit 7b5e213

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath(libs.gradle)
9-
classpath(libs.jetbrains.kotlin.gradle.plugin)
8+
classpath(libs.android.gradle.plugin)
9+
classpath(libs.buildkonfig.gradle.plugin) // Universal build config
1010
classpath(libs.dokka.gradle.plugin)
11-
// Universal build config
12-
classpath(libs.buildkonfig.gradle.plugin)
11+
classpath(libs.kotlin.gradle.plugin)
1312
}
1413
}
1514

gradle/libs.versions.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[versions]
22
acraCore = "5.13.1"
33
activityKtx = "1.11.0"
4+
androidGradlePlugin = "8.13.0"
45
appcompat = "1.7.1"
56
biometric = "1.4.0-alpha04"
67
buildkonfigGradlePlugin = "0.17.1"
@@ -13,14 +14,13 @@ desugar_jdk_libs_nio = "2.1.5"
1314
dokkaGradlePlugin = "2.1.0"
1415
espressoCore = "3.7.0"
1516
fuzzywuzzy = "1.4.0"
16-
gradle = "8.13.0"
1717
jacksonModuleKotlin = { strictly = "2.13.1" } # Later versions don't support minSdk <26 (Crashes on Android TV's and FireSticks)
1818
json = "20250517"
1919
junit = "4.13.2"
2020
junitKtx = "1.3.0"
2121
junitVersion = "1.3.0"
2222
juniversalchardet = "2.5.0"
23-
kotlinGradlePluginVersion = "2.2.21"
23+
kotlinGradlePlugin = "2.2.21"
2424
kotlinxCoroutinesCore = "1.10.2"
2525
lifecycleLivedataKtx = "2.9.4"
2626
lifecycleViewmodelKtx = "2.9.4"
@@ -55,6 +55,7 @@ targetSdk = "35"
5555
acra-core = { module = "ch.acra:acra-core", version.ref = "acraCore" }
5656
acra-toast = { module = "ch.acra:acra-toast", version.ref = "acraCore" }
5757
activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "activityKtx" }
58+
android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
5859
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
5960
biometric = { module = "androidx.biometric:biometric", version.ref = "biometric" }
6061
buildkonfig-gradle-plugin = { module = "com.codingfeline.buildkonfig:buildkonfig-gradle-plugin", version.ref = "buildkonfigGradlePlugin" }
@@ -65,24 +66,25 @@ conscrypt-android = { module = "org.conscrypt:conscrypt-android", version.ref =
6566
constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" }
6667
core = { module = "androidx.test:core" }
6768
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
69+
databinding = { module = "androidx.databinding:viewbinding", version.ref = "androidGradlePlugin" }
6870
desugar_jdk_libs_nio = { module = "com.android.tools:desugar_jdk_libs_nio", version.ref = "desugar_jdk_libs_nio" }
6971
dokka-gradle-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokkaGradlePlugin" }
7072
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
7173
ext-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" }
7274
fuzzywuzzy = { module = "me.xdrop:fuzzywuzzy", version.ref = "fuzzywuzzy" }
73-
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
7475
jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin", version.ref = "jacksonModuleKotlin" }
75-
jetbrains-kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinGradlePluginVersion" }
7676
json = { module = "org.json:json", version.ref = "json" }
7777
junit = { module = "junit:junit", version.ref = "junit" }
7878
junit-ktx = { module = "androidx.test.ext:junit-ktx", version.ref = "junitKtx" }
7979
juniversalchardet = { module = "com.github.albfernandez:juniversalchardet", version.ref = "juniversalchardet" }
80+
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinGradlePlugin" }
8081
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutinesCore" }
8182
lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "lifecycleLivedataKtx" }
8283
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycleViewmodelKtx" }
8384
material = { module = "com.google.android.material:material", version.ref = "material" }
8485
media3-cast = { module = "androidx.media3:media3-cast", version.ref = "media3" }
8586
media3-common = { module = "androidx.media3:media3-common", version.ref = "media3" }
87+
media3-container = { module = "androidx.media3:media3-container", version.ref = "media3" }
8688
media3-datasource-cronet = { group = "androidx.media3", name = "media3-datasource-cronet", version.ref = "media3" }
8789
media3-datasource-okhttp = { module = "androidx.media3:media3-datasource-okhttp", version.ref = "media3" }
8890
media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "media3" }
@@ -116,6 +118,6 @@ work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "w
116118
[plugins]
117119

118120
[bundles]
119-
media3 = ["media3-cast", "media3-common", "media3-datasource-cronet", "media3-datasource-okhttp", "media3-exoplayer", "media3-exoplayer-dash", "media3-exoplayer-hls", "media3-session", "media3-ui"]
121+
media3 = ["media3-cast", "media3-common", "media3-container", "media3-datasource-cronet", "media3-datasource-okhttp", "media3-exoplayer", "media3-exoplayer-dash", "media3-exoplayer-hls", "media3-session", "media3-ui"]
120122
navigationKtx = ["navigation-fragment-ktx", "navigation-ui-ktx"]
121123
nextlibMedia3 = ["nextlib-media3ext", "nextlib-mediainfo"]

0 commit comments

Comments
 (0)