build.gradle.kts

changeset 254
55ca6cafc3dd
parent 247
e71ae69c68c0
child 256
a7da88714dc3
--- a/build.gradle.kts	Tue Nov 01 21:31:15 2022 +0100
+++ b/build.gradle.kts	Wed Dec 28 13:21:30 2022 +0100
@@ -1,13 +1,11 @@
 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
 
 plugins {
-    kotlin("jvm") version "1.5.32"
+    kotlin("jvm") version "1.7.21"
     war
 }
 group = "de.uapcore"
-version = "0.6-SNAPSHOT"
-
-val flexmarkVersion = "0.62.2"
+version = "1.0-SNAPSHOT"
 
 repositories {
     mavenCentral()
@@ -32,13 +30,17 @@
     sourceSets {
         val main by getting {
             dependencies {
-                compileOnly("javax.servlet:javax.servlet-api:3.1.0")
-                compileOnly("javax.servlet:jstl:1.2")
+                // change the following to compileOnly, if you already have them on your server
+                implementation("jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:3.0.0")
+                implementation("org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1")
+                implementation("org.postgresql:postgresql:42.5.1")
+                compileOnly("jakarta.servlet:jakarta.servlet-api:6.0.0")
+                val flexmarkVersion = "0.64.0"
                 implementation("com.vladsch.flexmark:flexmark:${flexmarkVersion}")
                 implementation("com.vladsch.flexmark:flexmark-util-data:${flexmarkVersion}")
                 implementation("com.vladsch.flexmark:flexmark-ext-tables:${flexmarkVersion}")
                 implementation("com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:${flexmarkVersion}")
-                implementation("io.github.java-diff-utils:java-diff-utils:4.5")
+                implementation("io.github.java-diff-utils:java-diff-utils:4.12")
             }
         }
     }

mercurial