-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Migrate build to version catalogs
- Loading branch information
Showing
3 changed files
with
165 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 1,10 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
plugins { | ||
id("com.android.application") version "8.5.2" apply false | ||
id("org.jetbrains.kotlin.android") version "2.0.20" apply false | ||
id("org.jetbrains.kotlin.plugin.compose") version "2.0.20" | ||
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20" | ||
id("com.google.dagger.hilt.android") version "2.51.1" apply false | ||
id("com.google.devtools.ksp") version "2.0.20-1.0.24" apply false | ||
alias(libs.plugins.android.application) apply false | ||
alias(libs.plugins.kotlin.android) apply false | ||
alias(libs.plugins.kotlin.parcelize) apply false | ||
alias(libs.plugins.kotlin.plugin.compose) | ||
alias(libs.plugins.kotlin.plugin.serialization) | ||
alias(libs.plugins.hilt) apply false | ||
alias(libs.plugins.ksp) apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,88 @@ | ||
[versions] | ||
adaptive = "1.0.0" | ||
coil = "2.7.0" | ||
hilt = "2.52" | ||
libtorrent4j = "2.1.0-31" | ||
composeMaterial = "1.7.1" | ||
composeMaterial3 = "1.3.0" | ||
okhttp3 = "4.12.0" | ||
rome = "2.1.0" | ||
room = "2.6.1" | ||
|
||
kotlin = "2.0.20" | ||
|
||
[libraries] | ||
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.13.1" } | ||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.0" } | ||
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version = "1.9.2" } | ||
androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version = "1.1.0-beta01" } | ||
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version = "2.8.0" } | ||
androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version = "2.8.5" } | ||
androidx-compose-ui = { module = "androidx.compose.ui:ui", version = "1.7.1" } | ||
androidx-compose-material = { module = "androidx.compose.material:material", version.ref = "composeMaterial" } | ||
androidx-compose-icons = { module = "androidx.compose.material:material-icons-extended", version.ref = "composeMaterial" } | ||
androidx-compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "composeMaterial3" } | ||
androidx-compose-window-size = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "composeMaterial3" } | ||
androidx-compose-adaptive = { module = "androidx.compose.material3.adaptive:adaptive", version.ref = "adaptive" } | ||
androidx-compose-adaptive-layout = { module = "androidx.compose.material3.adaptive:adaptive-layout", version.ref = "adaptive" } | ||
androidx-compose-adaptive-navigation = { module = "androidx.compose.material3.adaptive:adaptive-navigation", version.ref = "adaptive" } | ||
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" } | ||
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } | ||
androidx-room-paging = { module = "androidx.room:room-paging", version.ref = "room" } | ||
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } | ||
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version = "2.9.1" } | ||
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version = "1.1.1" } | ||
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version = "1.0.1" } | ||
androidx-paging-compose = { module = "androidx.paging:paging-compose", version = "3.3.2" } | ||
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version = "1.2.0" } | ||
androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version = "1.3.1" } | ||
|
||
material = { module = "com.google.android.material:material", version = "1.12.0" } | ||
material-kolor = { module = "com.materialkolor:material-kolor", version = "1.7.0" } | ||
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version = "0.36.0" } | ||
|
||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } | ||
hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" } | ||
|
||
okhttp3 = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp3" } | ||
okhttp3-coroutines-jvm = { module = "com.squareup.okhttp3:okhttp-coroutines-jvm", version = "5.0.0-alpha.12" } | ||
okhttp3-logging = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp3" } | ||
retrofit2 = { module = "com.squareup.retrofit2:retrofit", version = "2.11.0" } | ||
retrofit2-kotlinx-serialization-converter = { module = "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter", version = "1.0.0" } | ||
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.7.2" } | ||
kotlinx-coroutines-guava = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-guava", version = "1.8.1" } | ||
|
||
aniyomi-mpv-lib = { module = "com.github.aniyomiorg:aniyomi-mpv-lib", version = "1.15.n" } | ||
ffmpeg-kit = { module = "com.github.jmir1:ffmpeg-kit", version = "1.15" } | ||
|
||
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } | ||
coil-gif = { module = "io.coil-kt:coil-gif", version.ref = "coil" } | ||
coil-svg = { module = "io.coil-kt:coil-svg", version.ref = "coil" } | ||
coil-video = { module = "io.coil-kt:coil-video", version.ref = "coil" } | ||
|
||
lottie-compose = { module = "com.airbnb.android:lottie-compose", version = "6.5.2" } | ||
|
||
rome = { module = "com.rometools:rome", version.ref = "rome" } | ||
rome-modules = { module = "com.rometools:rome-modules", version.ref = "rome" } | ||
|
||
readability4j = { module = "net.dankito.readability4j:readability4j", version = "1.0.8" } | ||
|
||
reorderable = { module = "sh.calvin.reorderable:reorderable", version = "2.3.2" } | ||
|
||
libtorrent4j-arm64 = { module = "org.libtorrent4j:libtorrent4j-android-arm64", version.ref = "libtorrent4j" } | ||
libtorrent4j-arm = { module = "org.libtorrent4j:libtorrent4j-android-arm", version.ref = "libtorrent4j" } | ||
libtorrent4j-x86 = { module = "org.libtorrent4j:libtorrent4j-android-x86", version.ref = "libtorrent4j" } | ||
libtorrent4j-x8664 = { module = "org.libtorrent4j:libtorrent4j-android-x86_64", version.ref = "libtorrent4j" } | ||
|
||
junit = { module = "junit:junit", version = "4.13.2" } | ||
androidx-junit = { module = "androidx.test.ext:junit", version = "1.2.1" } | ||
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version = "3.6.1" } | ||
|
||
[plugins] | ||
android-application = { id = "com.android.application", version = "8.5.2" } | ||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | ||
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } | ||
kotlin-plugin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } | ||
kotlin-plugin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } | ||
hilt = { id = "com.google.dagger.hilt.android", version = "2.51.1" } | ||
ksp = { id = "com.google.devtools.ksp", version = "2.0.20-1.0.24" } |