Update all dependencies

Except for Android Gradle build tools
This commit is contained in:
Niels van Velzen 2020-11-15 14:10:13 +01:00
parent c560de7a20
commit 3ca910086a
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
plugins {
id("maven-publish")
id("io.gitlab.arturbosch.detekt").version("1.9.1")
id("io.gitlab.arturbosch.detekt").version(Dependencies.detektVersion)
}
// Versioning

View File

@ -19,24 +19,24 @@ object Dependencies {
object KotlinX {
private fun item(module: String, version: String) = "org.jetbrains.kotlinx:kotlinx-${module}:${version}"
val coroutinesCore = item("coroutines-core", "1.4.0")
val serializationJson = item("serialization-json", "1.0.0")
val coroutinesCore = item("coroutines-core", "1.4.1")
val serializationJson = item("serialization-json", "1.0.1")
}
object Android {
const val buildTools = "com.android.tools.build:gradle:4.0.1"
const val desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.0.10"
const val desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.1.0"
}
object AndroidX {
private fun item(library: String, module: String = library, version: String) = "androidx.${library}:${module}:${version}"
val core = item("core", "core-ktx", "1.3.0")
val core = item("core", "core-ktx", "1.3.2")
val annotation = item("annotation", version = "1.1.0")
}
object Ktor {
private const val version = "1.4.0"
private const val version = "1.4.2"
private fun item(library: String) = "io.ktor:ktor-$library:$version"
val okhttp = item("client-okhttp")
@ -47,7 +47,7 @@ object Dependencies {
}
object Koin {
private const val version = "2.1.6"
private const val version = "2.2.0"
private fun item(module: String) = "org.koin:koin-$module:$version"
val core = item("core")
@ -62,10 +62,11 @@ object Dependencies {
}
// Non-categorised dependencies
const val swaggerParser = "io.swagger.parser.v3:swagger-parser:2.0.19"
const val swaggerParser = "io.swagger.parser.v3:swagger-parser:2.0.23"
const val kotlinPoet = "com.squareup:kotlinpoet:1.7.2"
const val kasechange = "net.pearx.kasechange:kasechange:1.3.0"
const val clikt = "com.github.ajalt.clikt:clikt:3.0.1"
const val detektVersion = "1.14.2"
}
/**