Update all.
- Kotlin: 1.5.20 - clikt: now 3.0.0 to 4.0.0 - kotest now 4.3.0 to 5.0.0
This commit is contained in:
parent
dbd34c8078
commit
2e799ac5b3
2 changed files with 9 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
extra.apply {
|
extra.apply {
|
||||||
set("coroutinesVersion", "1.4.1")
|
set("coroutinesVersion", "1.5")
|
||||||
set("kotlinVersion", "1.4.30")
|
set("kotlinVersion", "1.5.20")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "de.pheerai"
|
group = "de.pheerai"
|
||||||
version = "0.0.3-SNAPSHOT"
|
version = "0.0.4-SNAPSHOT"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -27,6 +27,7 @@ dependencies {
|
||||||
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:${getFromExtra<String>("coroutinesVersion")}"))
|
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:${getFromExtra<String>("coroutinesVersion")}"))
|
||||||
|
|
||||||
api("org.jetbrains.kotlinx", "kotlinx-coroutines-core")
|
api("org.jetbrains.kotlinx", "kotlinx-coroutines-core")
|
||||||
|
api("org.jetbrains.kotlinx", "kotlinx-coroutines-core-jvm")
|
||||||
|
|
||||||
api("com.github.ajalt.clikt", "clikt") {
|
api("com.github.ajalt.clikt", "clikt") {
|
||||||
version { cliktConstraints() }
|
version { cliktConstraints() }
|
||||||
|
@ -72,8 +73,8 @@ inline fun <reified T> getFromProperties(name: String): T = project.properties[n
|
||||||
inline fun <reified T> getFromExtra(name: String): T = extra[name] as T
|
inline fun <reified T> getFromExtra(name: String): T = extra[name] as T
|
||||||
|
|
||||||
fun MutableVersionConstraint.kotestConstraints() {
|
fun MutableVersionConstraint.kotestConstraints() {
|
||||||
prefer("4.3.1")
|
prefer("4.6.0")
|
||||||
strictly("[4.3.0,4.4.0[")
|
strictly("[4.3.0,5.0.0[")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.kotlinxHtmlConstraints() {
|
fun MutableVersionConstraint.kotlinxHtmlConstraints() {
|
||||||
|
@ -87,6 +88,6 @@ fun MutableVersionConstraint.jsoupConstraints() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.cliktConstraints() {
|
fun MutableVersionConstraint.cliktConstraints() {
|
||||||
prefer("3.0.1")
|
prefer("3.2.0")
|
||||||
strictly("[3.0.0,3.1.0[")
|
strictly("[3.0.0,4.0.0[")
|
||||||
}
|
}
|
||||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in a new issue