chore: added KotlinxSerialization to project, bumped kotlin version
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
734ac1b74c
commit
0f2410c7c1
2 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* lilJudd
|
* lilJudd
|
||||||
* Copyright (C) 2023 moonleay
|
* Copyright (C) 2024 moonleay
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -21,7 +21,8 @@ import org.jetbrains.gradle.ext.TaskTriggersConfig
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.9.10"
|
kotlin("jvm") version "1.9.22"
|
||||||
|
kotlin("plugin.serialization") version "1.9.22"
|
||||||
id("com.github.johnrengelman.shadow") version "8.1.1"
|
id("com.github.johnrengelman.shadow") version "8.1.1"
|
||||||
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
|
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
|
@ -40,6 +41,7 @@ val ktorver = "2.3.7"
|
||||||
val exposedver = "0.45.0"
|
val exposedver = "0.45.0"
|
||||||
val postgresver = "42.7.1"
|
val postgresver = "42.7.1"
|
||||||
val krontabver = "2.2.4"
|
val krontabver = "2.2.4"
|
||||||
|
val kotlinxserializationver = "1.6.0"
|
||||||
|
|
||||||
val mavenArtifact = "lilJudd"
|
val mavenArtifact = "lilJudd"
|
||||||
project.base.archivesName.set(mavenArtifact)
|
project.base.archivesName.set(mavenArtifact)
|
||||||
|
@ -93,6 +95,9 @@ dependencies {
|
||||||
//Coroutines
|
//Coroutines
|
||||||
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver")
|
shadow("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesver")
|
||||||
|
|
||||||
|
//JSON Stuff
|
||||||
|
shadow("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxserializationver")
|
||||||
|
|
||||||
//Logging
|
//Logging
|
||||||
shadow("org.slf4j:slf4j-api:2.0.3")
|
shadow("org.slf4j:slf4j-api:2.0.3")
|
||||||
shadow("org.slf4j:slf4j-simple:2.0.3")
|
shadow("org.slf4j:slf4j-simple:2.0.3")
|
||||||
|
@ -121,7 +126,8 @@ val templateProps = mapOf(
|
||||||
"ktorversion" to ktorver,
|
"ktorversion" to ktorver,
|
||||||
"exposedversion" to exposedver,
|
"exposedversion" to exposedver,
|
||||||
"postgresversion" to postgresver,
|
"postgresversion" to postgresver,
|
||||||
"krontabversion" to krontabver
|
"krontabversion" to krontabver,
|
||||||
|
"kotlinxserializationversion" to kotlinxserializationver
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* lilJudd
|
* lilJudd
|
||||||
* Copyright (C) 2023 moonleay
|
* Copyright (C) 2024 moonleay
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -27,4 +27,5 @@ internal object BuildConstants {
|
||||||
const val exposedVersion = "${exposedversion}"
|
const val exposedVersion = "${exposedversion}"
|
||||||
const val postgresVersion = "${postgresversion}"
|
const val postgresVersion = "${postgresversion}"
|
||||||
const val krontabVersion = "${krontabversion}"
|
const val krontabVersion = "${krontabversion}"
|
||||||
|
const val kotlinXSerializationVerson = "${kotlinxserializationversion}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue