2022-06-02 16:59:18 +00:00
|
|
|
enableFeaturePreview("VERSION_CATALOGS")
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
versionCatalogs {
|
|
|
|
create("libs") {
|
2022-07-04 15:20:05 +00:00
|
|
|
version("kotlin", "1.7.0")
|
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-07-07 08:23:28 +00:00
|
|
|
library("android-media", "androidx.media", "media").version("1.6.0")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-07-04 15:20:05 +00:00
|
|
|
version("compose-compiler", "1.2.0")
|
2022-06-30 22:01:06 +00:00
|
|
|
|
2022-07-04 15:20:05 +00:00
|
|
|
version("compose", "1.3.0-alpha01")
|
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-07-07 08:23:28 +00:00
|
|
|
library("compose-activity", "androidx.activity", "activity-compose").version("1.5.0-rc01")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-07-07 08:23:28 +00:00
|
|
|
library("compose-coil", "io.coil-kt", "coil-compose").version("2.1.0")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-06-27 19:14:50 +00:00
|
|
|
version("accompanist", "0.24.12-rc")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("accompanist-systemuicontroller", "com.google.accompanist", "accompanist-systemuicontroller").versionRef("accompanist")
|
2022-06-02 16:59:18 +00:00
|
|
|
|
2022-06-27 19:14:50 +00:00
|
|
|
version("room", "2.5.0-alpha02")
|
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-06-17 11:46:06 +00:00
|
|
|
version("media3", "1.0.0-beta01")
|
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-06-05 13:36:35 +00:00
|
|
|
version("ktor", "2.0.2")
|
2022-07-07 08:23:28 +00:00
|
|
|
library("ktor-client-core", "io.ktor", "ktor-client-core").versionRef("ktor")
|
|
|
|
library("ktor-client-cio", "io.ktor", "ktor-client-cio").versionRef("ktor")
|
|
|
|
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-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")
|
|
|
|
include(":youtube-music")
|
|
|
|
include(":ktor-client-brotli")
|