2022-06-02 16:59:18 +00:00
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2022-09-22 17:08:01 +00:00
|
|
|
maven { setUrl("https://jitpack.io") }
|
2022-06-02 16:59:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
versionCatalogs {
|
|
|
|
create("libs") {
|
2022-08-11 17:41:46 +00:00
|
|
|
version("kotlin", "1.7.10")
|
2022-07-07 08:23:28 +00:00
|
|
|
plugin("kotlin-serialization","org.jetbrains.kotlin.plugin.serialization").versionRef("kotlin")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-03 19:08:40 +00:00
|
|
|
library("kotlin-coroutines","org.jetbrains.kotlinx", "kotlinx-coroutines-core").version("1.6.4")
|
|
|
|
|
2022-08-11 17:41:46 +00:00
|
|
|
version("compose-compiler", "1.3.0")
|
2022-06-30 22:01:06 +00:00
|
|
|
|
2022-08-30 08:31:41 +00:00
|
|
|
version("compose", "1.3.0-alpha03")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("compose-foundation", "androidx.compose.foundation", "foundation").versionRef("compose")
|
|
|
|
library("compose-ui", "androidx.compose.ui", "ui").versionRef("compose")
|
|
|
|
library("compose-ui-util", "androidx.compose.ui", "ui-util").versionRef("compose")
|
|
|
|
library("compose-ripple", "androidx.compose.material", "material-ripple").versionRef("compose")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-07-07 08:23:28 +00:00
|
|
|
library("compose-shimmer", "com.valentinilk.shimmer", "compose-shimmer").version("1.0.3")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-10 14:18:09 +00:00
|
|
|
library("compose-activity", "androidx.activity", "activity-compose").version("1.5.1")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-09-09 10:48:11 +00:00
|
|
|
library("compose-coil", "io.coil-kt", "coil-compose").version("2.2.1")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-30 08:54:33 +00:00
|
|
|
version("room", "2.5.0-alpha03")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("room", "androidx.room", "room-ktx").versionRef("room")
|
|
|
|
library("room-compiler", "androidx.room", "room-compiler").versionRef("room")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-10 14:18:09 +00:00
|
|
|
version("media3", "1.0.0-beta02")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("exoplayer", "androidx.media3", "media3-exoplayer").versionRef("media3")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-30 08:55:01 +00:00
|
|
|
version("ktor", "2.1.0")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("ktor-client-core", "io.ktor", "ktor-client-core").versionRef("ktor")
|
2022-08-10 14:31:25 +00:00
|
|
|
library("ktor-client-cio", "io.ktor", "ktor-client-okhttp").versionRef("ktor")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("ktor-client-content-negotiation", "io.ktor", "ktor-client-content-negotiation").versionRef("ktor")
|
|
|
|
library("ktor-client-encoding", "io.ktor", "ktor-client-encoding").versionRef("ktor")
|
|
|
|
library("ktor-client-serialization", "io.ktor", "ktor-client-serialization").versionRef("ktor")
|
|
|
|
library("ktor-serialization-json", "io.ktor", "ktor-serialization-kotlinx-json").versionRef("ktor")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-07-07 08:23:28 +00:00
|
|
|
library("brotli", "org.brotli", "dec").version("0.1.2")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-08-10 11:09:35 +00:00
|
|
|
library("palette", "androidx.palette", "palette").version("1.0.0")
|
|
|
|
|
2022-07-07 08:23:28 +00:00
|
|
|
library("desugaring", "com.android.tools", "desugar_jdk_libs").version("1.1.5")
|
2022-06-02 16:59:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
create("testLibs") {
|
2022-07-07 08:23:28 +00:00
|
|
|
library("junit", "junit", "junit").version("4.13.2")
|
2022-06-02 16:59:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.name = "ViMusic"
|
|
|
|
include(":app")
|
|
|
|
include(":compose-routing")
|
|
|
|
include(":compose-reordering")
|
2022-10-02 13:25:07 +00:00
|
|
|
include(":innertube")
|
2022-06-02 16:59:18 +00:00
|
|
|
include(":ktor-client-brotli")
|
2022-08-06 17:45:00 +00:00
|
|
|
include(":kugou")
|