Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies (except core kotlin) #471

Merged
merged 10 commits into from
Jan 24, 2023
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies {
implementation("io.github.gradle-nexus:publish-plugin:1.1.0")
implementation("org.ajoberstar.reckon:reckon-gradle:0.16.1")
implementation("com.squareup:kotlinpoet:1.12.0")
implementation("com.google.code.gson:gson:2.10")
implementation("com.google.code.gson:gson:2.10.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ kotlin {
dependsOn(commonNonJsTest)
dependencies {
implementation(kotlin("test-junit5"))
implementation("org.junit.jupiter:junit-jupiter-engine:5.9.1")
implementation("org.junit.jupiter:junit-jupiter-engine:5.9.2")
}
}
val nativeMain by creating {
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[versions]
kotlin = "1.7.22"
okio = "3.2.0"
okio = "3.3.0"
kgevorkyan marked this conversation as resolved.
Show resolved Hide resolved
serialization = "1.4.1"
diktat = "1.2.4.1"
kotlinx-cli = "0.3.5"
kotlinx-datetime = "0.4.0"
kotlinx-coroutines = "1.6.3-native-mt"
junit = "5.9.1"
ktoml = "0.3.0"
junit = "5.9.2"
ktoml = "0.4.0"
multiplatform-diff = "0.4.0"
kotlinpoet = "1.12.0"
kotest = "5.5.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,31 @@ import com.akuleshov7.ktoml.TomlInputConfig
import com.akuleshov7.ktoml.exceptions.TomlDecodingException
import com.akuleshov7.ktoml.file.TomlFileReader
import com.akuleshov7.ktoml.parsers.TomlParser
import com.akuleshov7.ktoml.tree.TomlTable
import com.akuleshov7.ktoml.tree.nodes.TomlTable
import okio.FileSystem
import okio.Path

import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.serializer

private fun Path.testConfigFactory(table: TomlTable) =
when (table.fullTableName.uppercase().replace("\"", "")) {
when (table.fullTableKey.toString()
.uppercase()
.replace("\"", "")) {
TestConfigSections.FIX.name -> this.createPluginConfig<FixPluginConfig>(
table.fullTableName
table.fullTableKey.toString()
kgevorkyan marked this conversation as resolved.
Show resolved Hide resolved
)
TestConfigSections.`FIX AND WARN`.name -> this.createPluginConfig<FixAndWarnPluginConfig>(
table.fullTableName
table.fullTableKey.toString()
)
TestConfigSections.WARN.name -> this.createPluginConfig<WarnPluginConfig>(
table.fullTableName
table.fullTableKey.toString()
)
TestConfigSections.GENERAL.name -> this.createPluginConfig<GeneralConfig>(
table.fullTableName
table.fullTableKey.toString()
)
else -> throw PluginException(
"Received unknown plugin section name in the input: [${table.fullTableName}]." +
"Received unknown plugin section name in the input: [${table.fullTableKey}]." +
" Please check your <$this> config"
)
}
Expand Down