Sat, 04 Jun 2022 18:29:58 +0200
move IssueSorter to viewmodel package
1 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3 plugins {
4 kotlin("jvm") version "1.5.32"
5 war
6 }
7 group = "de.uapcore"
8 version = "0.6-SNAPSHOT"
10 val flexmarkVersion = "0.62.2"
12 repositories {
13 mavenCentral()
14 }
16 tasks.withType<KotlinCompile>().configureEach {
17 kotlinOptions.jvmTarget = "11"
18 }
20 // remove after removing all java sources
21 tasks.withType<JavaCompile>().configureEach {
22 sourceCompatibility = "11"
23 targetCompatibility = "11"
24 }
26 tasks.war {
27 archiveFileName.set("lightpit.war")
28 from("src/main/resources")
29 }
31 kotlin {
32 sourceSets {
33 val main by getting {
34 dependencies {
35 compileOnly("javax.servlet:javax.servlet-api:3.1.0")
36 compileOnly("javax.servlet:jstl:1.2")
37 implementation("com.vladsch.flexmark:flexmark:${flexmarkVersion}")
38 implementation("com.vladsch.flexmark:flexmark-util-data:${flexmarkVersion}")
39 implementation("com.vladsch.flexmark:flexmark-ext-tables:${flexmarkVersion}")
40 implementation("com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:${flexmarkVersion}")
41 implementation("io.github.java-diff-utils:java-diff-utils:4.5")
42 }
43 }
44 }
45 }