|
| 1 | +[versions] |
| 2 | + |
| 3 | +java = "1.8" |
| 4 | + |
| 5 | +minSdk = "21" |
| 6 | +targetSdk = "32" |
| 7 | +compileSdk = "33" |
| 8 | +buildTools = "32.0.0" |
| 9 | + |
| 10 | +agp = "7.4.2" |
| 11 | +androidXCore = "1.6.0" |
| 12 | +androidXLifecycle = "2.4.0" |
| 13 | +compose = "1.4.0" |
| 14 | +composeCompiler = "1.4.7" |
| 15 | +composeMaterial3 = "1.1.2" |
| 16 | +detekt = "1.19.0" |
| 17 | +kotlin = "1.8.21" |
| 18 | +ktlint-plugin = "11.1.0" |
| 19 | +ktor = "2.3.2" |
| 20 | +ksp = "1.8.21-1.0.11" |
| 21 | +moshi = "1.13.0" |
| 22 | +navigation = "2.4.1" |
| 23 | +okhttp = "4.9.1" |
| 24 | +retrofit = "2.9.0" |
| 25 | +room = "2.5.1" |
| 26 | + |
| 27 | +[plugins] |
| 28 | + |
| 29 | +android-application = { id = "com.android.application", version.ref = "agp" } |
| 30 | +android-library = { id = "com.android.library", version.ref = "agp" } |
| 31 | +detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } |
| 32 | +dokka = { id = "org.jetbrains.dokka", version = "1.5.0" } |
| 33 | +gradle-nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "1.1.0" } |
| 34 | +kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } |
| 35 | +kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } |
| 36 | +kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } |
| 37 | +ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } |
| 38 | +ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint-plugin" } |
| 39 | + |
| 40 | +[libraries] |
| 41 | + |
| 42 | +androidx-annotation = { module = "androidx.annotation:annotation", version = "1.4.0" } |
| 43 | +androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.4.0" } |
| 44 | +androidx-browser = { module = "androidx.browser:browser", version = "1.4.0" } |
| 45 | +androidx-cardview = { module = "androidx.cardview:cardview", version = "1.0.0" } |
| 46 | +androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.1.2" } |
| 47 | +androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidXCore" } |
| 48 | +androidx-lifecycle-common = { module = "androidx.lifecycle:lifecycle-common-java8", version.ref = "androidXLifecycle" } |
| 49 | +androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidXLifecycle" } |
| 50 | +androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidXLifecycle" } |
| 51 | +androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidXLifecycle" } |
| 52 | +androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "navigation" } |
| 53 | +androidx-navigation-ui = { module = "androidx.navigation:navigation-ui", version.ref = "navigation" } |
| 54 | +androidx-preference = { module = "androidx.preference:preference-ktx", version = "1.2.0" } |
| 55 | +androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.2.1" } |
| 56 | +androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version = "1.1.0" } |
| 57 | + |
| 58 | +compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose" } |
| 59 | +compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "composeMaterial3" } |
| 60 | +compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" } |
| 61 | +compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } |
| 62 | +compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } |
| 63 | +compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" } |
| 64 | +constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version = "1.0.1" } |
| 65 | + |
| 66 | +datastore-preferences = { module = "androidx.datastore:datastore-preferences", version = "1.0.0" } |
| 67 | + |
| 68 | +google-material = { module = "com.google.android.material:material", version = "1.6.1" } |
| 69 | + |
| 70 | +junit = { module = "junit:junit", version = "4.13.2" } |
| 71 | + |
| 72 | +kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" } |
| 73 | +kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version = "1.6.0" } |
| 74 | +kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.5.1" } |
| 75 | +ktor-client-android = { module = "io.ktor:ktor-client-android", version.ref = "ktor" } |
| 76 | +ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" } |
| 77 | +ktor-client-core-jvm = { module = "io.ktor:ktor-client-core-jvm", version.ref = "ktor" } |
| 78 | +ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } |
| 79 | + |
| 80 | +leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version = "2.7" } |
| 81 | + |
| 82 | +moshi = { module = "com.squareup.moshi:moshi", version.ref = "moshi" } |
| 83 | +moshi-codegen = { module = "com.squareup.moshi:moshi-kotlin-codegen", version.ref = "moshi" } |
| 84 | + |
| 85 | +okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" } |
| 86 | +okhttp-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp" } |
| 87 | +okio = { module = "com.squareup.okio:okio", version = "2.10.0" } |
| 88 | + |
| 89 | +retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } |
| 90 | +retrofit-converter-moshi = { module = "com.squareup.retrofit2:converter-moshi", version.ref = "retrofit" } |
| 91 | +room = { module = "androidx.room:room-ktx", version.ref = "room" } |
| 92 | +room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } |
| 93 | + |
| 94 | +timber = { module = "com.jakewharton.timber:timber", version = "5.0.1" } |
0 commit comments