feat: added exposed dependency, updated kotlin jvm

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-13 01:18:59 +02:00
parent 3c5ecedaaf
commit 0ad6941b62
2 changed files with 11 additions and 6 deletions

View file

@ -21,7 +21,7 @@ import org.jetbrains.gradle.ext.TaskTriggersConfig
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.10"
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"
`maven-publish`
@ -89,10 +89,9 @@ dependencies {
//Database
shadow("io.ktor:ktor-client-core:$ktor_version")
shadow("io.ktor:ktor-client-cio:$ktor_version")
//shadow("org.jetbrains.exposed:exposed-core:$$exposedver")
//shadow("org.jetbrains.exposed:exposed-dao:$$exposedver")
//shadow("org.jetbrains.exposed:exposedjdbc:$exposedver")
shadow("org.jetbrains.exposed:exposed-core:$exposedver")
shadow("org.jetbrains.exposed:exposed-dao:$exposedver")
shadow("org.jetbrains.exposed:exposed-jdbc:$exposedver")
shadow("org.postgresql:postgresql:$postgresver")
}
@ -104,7 +103,10 @@ val templateProps = mapOf(
"version" to project.version as String,
"ownerID" to ownerID,
"kordversion" to kordver,
"coroutinesversion" to coroutinesver
"coroutinesversion" to coroutinesver,
"ktorversion" to ktor_version,
"exposedversion" to exposedver,
"postgresversion" to postgresver
)

View file

@ -23,4 +23,7 @@ internal object BuildConstants {
const val ownerID = "${ownerID}"
const val kordVersion = "${kordversion}"
const val coroutinesVersion = "${coroutinesversion}"
const val ktorVersion = "${ktorversion}"
const val exposedVersion = "${exposedversion}"
const val postgresVersion = "${postgresversion}"
}