105 lines
4.4 KiB
Plaintext
105 lines
4.4 KiB
Plaintext
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
|
|
//App
|
|
kotlin("plugin.serialization") version "2.1.0"
|
|
|
|
|
|
//импорт библиотеки
|
|
implementation(project (":uiKit"))
|
|
implementation(project(":networkLib"))
|
|
|
|
//Навигация
|
|
implementation("androidx.navigation:navigation-compose:2.8.6")
|
|
|
|
// Kotlin
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
|
|
|
|
|
|
// koin
|
|
implementation("io.insert-koin:koin-android:3.4.3")
|
|
implementation("io.insert-koin:koin-androidx-compose:3.4.3")
|
|
implementation("io.insert-koin:koin-android:3.5.0")
|
|
|
|
//ktor
|
|
implementation("io.ktor:ktor-client-core:2.3.7") // Ядро Ktor
|
|
implementation("io.ktor:ktor-client-logging:2.3.7") // логинг
|
|
implementation("io.ktor:ktor-client-android:2.3.7") // Android-специфичный движок
|
|
implementation("io.ktor:ktor-client-content-negotiation:2.3.7") // Для JSON
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.7") // Сериализация
|
|
implementation("io.ktor:ktor-client-cio:2.3.7") //cio
|
|
|
|
|
|
//для виджета
|
|
implementation ("androidx.glance:glance-appwidget:1.0.0-alpha04")
|
|
implementation ("androidx.glance:glance-wear-tiles:1.0.0-alpha04")
|
|
//картинки
|
|
implementation("io.coil-kt:coil-compose:2.2.2")
|
|
|
|
implementation ("androidx.work:work-runtime-ktx:2.7.1")
|
|
implementation ("androidx.core:core-ktx:1.6.0")
|
|
|
|
implementation ("com.google.accompanist:accompanist-permissions:0.24.3-alpha")
|
|
|
|
val espressoVersion = "4.2.2"
|
|
androidTestImplementation ("androidx.test.espresso:espresso-core:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso:espresso-core:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso:espresso-contrib:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso:espresso-intents:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso:espresso-accessibility:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso:espresso-web:$espressoVersion")
|
|
androidTestImplementation( "androidx.test.espresso.idling:idling-concurrent:$espressoVersion")
|
|
|
|
testImplementation ("org.robolectric:robolectric:4.8")
|
|
|
|
|
|
|
|
//UIKIT
|
|
alias(libs.plugins.kotlin.compose)
|
|
//Добавляю это, чтобы проект мог использовать Composable
|
|
implementation ("androidx.compose.ui:ui:1.8.1")
|
|
implementation ("androidx.compose.material:material:1.8.1")
|
|
implementation ("androidx.compose.ui:ui-tooling-preview:1.8.1")
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.androidx.lifecycle.runtime.ktx)
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
implementation(libs.androidx.ui)
|
|
implementation(libs.androidx.ui.graphics)
|
|
implementation(libs.androidx.ui.tooling.preview)
|
|
implementation(libs.androidx.material3)
|
|
|
|
implementation("io.coil-kt:coil-compose:2.2.2")
|
|
implementation("io.coil-kt:coil-svg:2.2.2")
|
|
|
|
implementation("androidx.compose.material3:material3:1.4.0-alpha14")
|
|
|
|
|
|
//network
|
|
|
|
kotlin("plugin.serialization") version "2.1.0"
|
|
|
|
|
|
// Ktor
|
|
implementation("io.ktor:ktor-client-core:2.3.7") // Ядро Ktor
|
|
implementation("io.ktor:ktor-client-android:2.3.7") // Android-специфичный движок
|
|
implementation("io.ktor:ktor-client-content-negotiation:2.3.7") // Для JSON
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.7") // Сериализация
|
|
implementation("io.ktor:ktor-client-logging:2.3.7")
|
|
|
|
// Kotlin
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
|
|
|
|
// Lifecycle
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
|
|
|
|
// Dependency Injection
|
|
implementation("io.insert-koin:koin-android:3.4.3")
|
|
implementation("io.insert-koin:koin-androidx-compose:3.4.3")
|
|
|
|
// DI
|
|
implementation("io.insert-koin:koin-android:3.5.0")
|
|
|
|
// Тестирование
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("io.mockk:mockk:1.13.8")
|
|
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3") |