build.gradle.kts

changeset 147
dfec8c5f8db0
child 151
b3f14cd4f3ab
equal deleted inserted replaced
146:b0e83cab0bde 147:dfec8c5f8db0
1
2 plugins {
3 kotlin("jvm") version "1.4.10"
4 war
5 }
6 group = "de.uapcore"
7 version = "0.5-SNAPSHOT"
8
9 val log4jVersion = "2.13.1"
10 val slf4jVersion = "1.7.30"
11
12 repositories {
13 mavenCentral()
14 }
15
16 tasks.war {
17 archiveFileName.set("lightpit.war")
18 from("src/main/resources")
19 }
20
21 kotlin {
22 sourceSets {
23 val main by getting {
24 dependencies {
25 compileOnly("javax.servlet:javax.servlet-api:3.1.0")
26 compileOnly("javax.servlet:jstl:1.2")
27 implementation("org.slf4j:slf4j-api:${slf4jVersion}")
28 implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
29 implementation("org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}")
30 }
31 }
32 }
33 }

mercurial