build.gradle.kts

changeset 254
55ca6cafc3dd
parent 247
e71ae69c68c0
child 256
a7da88714dc3
equal deleted inserted replaced
253:e1cd3e698037 254:55ca6cafc3dd
1 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 1 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2 2
3 plugins { 3 plugins {
4 kotlin("jvm") version "1.5.32" 4 kotlin("jvm") version "1.7.21"
5 war 5 war
6 } 6 }
7 group = "de.uapcore" 7 group = "de.uapcore"
8 version = "0.6-SNAPSHOT" 8 version = "1.0-SNAPSHOT"
9
10 val flexmarkVersion = "0.62.2"
11 9
12 repositories { 10 repositories {
13 mavenCentral() 11 mavenCentral()
14 } 12 }
15 13
30 28
31 kotlin { 29 kotlin {
32 sourceSets { 30 sourceSets {
33 val main by getting { 31 val main by getting {
34 dependencies { 32 dependencies {
35 compileOnly("javax.servlet:javax.servlet-api:3.1.0") 33 // change the following to compileOnly, if you already have them on your server
36 compileOnly("javax.servlet:jstl:1.2") 34 implementation("jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:3.0.0")
35 implementation("org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1")
36 implementation("org.postgresql:postgresql:42.5.1")
37 compileOnly("jakarta.servlet:jakarta.servlet-api:6.0.0")
38 val flexmarkVersion = "0.64.0"
37 implementation("com.vladsch.flexmark:flexmark:${flexmarkVersion}") 39 implementation("com.vladsch.flexmark:flexmark:${flexmarkVersion}")
38 implementation("com.vladsch.flexmark:flexmark-util-data:${flexmarkVersion}") 40 implementation("com.vladsch.flexmark:flexmark-util-data:${flexmarkVersion}")
39 implementation("com.vladsch.flexmark:flexmark-ext-tables:${flexmarkVersion}") 41 implementation("com.vladsch.flexmark:flexmark-ext-tables:${flexmarkVersion}")
40 implementation("com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:${flexmarkVersion}") 42 implementation("com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:${flexmarkVersion}")
41 implementation("io.github.java-diff-utils:java-diff-utils:4.5") 43 implementation("io.github.java-diff-utils:java-diff-utils:4.12")
42 } 44 }
43 } 45 }
44 } 46 }
45 } 47 }

mercurial