Внедрение апи

This commit is contained in:
2023-04-16 17:11:07 +03:00
parent 1914b11bc9
commit d04ceb323f
24 changed files with 309 additions and 14 deletions
+12 -1
View File
@@ -1,3 +1,4 @@
import core.DependencyList
import org.gradle.api.artifacts.dsl.DependencyHandler
object AppLibraries: DependencyList() {
@@ -31,6 +32,11 @@ object AppLibraries: DependencyList() {
val lazyHorizontalGrid = "androidx.compose.foundation:foundation:1.3.1"
val calendar = "com.kizitonwose.calendar:compose:2.1.1"
val asyncImage = "io.coil-kt:coil-compose:2.2.0"
val roomRuntime = "androidx.room:room-runtime:${Versions.room}"
val roomKtx = "androidx.room:room-ktx:${Versions.room}"
val jsoup = "org.jsoup:jsoup:1.15.4"
}
@@ -58,7 +64,12 @@ object AndroidTestLibraries: DependencyList() {
object TestLibraries: DependencyList() {
//test libs
private val junit = "junit:junit:${Versions.junit}"
val junit = "junit:junit:${Versions.junit}"
}
object KaptLibraries: DependencyList(){
val compiler = "androidx.room:room-compiler:${Versions.room}"
}
/**
+1
View File
@@ -13,6 +13,7 @@ object Versions {
val constraintLayout = "2.0.0-beta8"
val compose = "1.4.1"
val room = "2.2.6"
//test
val junit = "4.12"
@@ -1,3 +1,5 @@
package core
open class DependencyList {
fun list(): List<String>{