Tue, 01 Nov 2022 21:11:17 +0100
add issue status 'Ready'
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.32" war } group = "de.uapcore" version = "0.6-SNAPSHOT" val flexmarkVersion = "0.62.2" repositories { mavenCentral() } tasks.withType<KotlinCompile>().configureEach { kotlinOptions.jvmTarget = "11" } // remove after removing all java sources tasks.withType<JavaCompile>().configureEach { sourceCompatibility = "11" targetCompatibility = "11" } tasks.war { archiveFileName.set("lightpit.war") from("src/main/resources") } kotlin { sourceSets { val main by getting { dependencies { compileOnly("javax.servlet:javax.servlet-api:3.1.0") compileOnly("javax.servlet:jstl:1.2") 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") } } } }