chore!: upgrade dependencies & gradle (7.4.2 -> 8.3)

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-09-17 12:58:15 +02:00
parent 672982ef37
commit d2af0fce94
3 changed files with 22 additions and 14 deletions

View file

@ -21,9 +21,9 @@ import org.jetbrains.gradle.ext.TaskTriggersConfig
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.20"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.6"
kotlin("jvm") version "1.9.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
`maven-publish`
}
@ -32,14 +32,14 @@ val ownerID = 372703841151614976L
group = "net.moonleay.liljudd"
version = System.getenv("CI_COMMIT_TAG")?.let { "$it-${System.getenv("CI_COMMIT_SHORT_SHA")}-prod" }
?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
?: "2.5.5"
?: "2.5.6"
val kordver = "1.5.6"
val coroutinesver = "1.1.0"
val ktor_version = "2.3.0"
val exposedver = "0.40.1"
val postgresver = "42.3.8"
val krontabver = "2.1.2"
val kordver = "1.5.9-SNAPSHOT"
val coroutinesver = "1.7.3"
val ktor_version = "2.3.4"
val exposedver = "0.43.0"
val postgresver = "42.6.0"
val krontabver = "2.2.0"
val mavenArtifact = "lilJudd"
project.base.archivesName.set(mavenArtifact)
@ -72,6 +72,14 @@ repositories {
}
}
}
maven {
name = "sonatype"
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
maven {
name = "sonatype 2"
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
val shadow by configurations.getting
@ -95,14 +103,14 @@ dependencies {
//Korntab
shadow("dev.inmo:krontab:$krontabver")
"shadow"("io.ktor:ktor-client-core-jvm:2.3.1")
"shadow"("io.ktor:ktor-client-cio-jvm:2.3.1")
"shadow"("io.ktor:ktor-client-core-jvm:2.3.4")
"shadow"("io.ktor:ktor-client-cio-jvm:2.3.4")
}
val targetJavaVersion = 17
val templateSrc = project.rootDir.resolve("src/main/templates")
val templateDest = project.buildDir.resolve("generated/templates")
val templateDest = project.projectDir.resolve("build/generated/templates")
val templateProps = mapOf(
"version" to project.version as String,
"ownerID" to ownerID,

Binary file not shown.

View file

@ -18,6 +18,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists