29 lines
469 B
Groovy
29 lines
469 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group 'com.pictransform'
|
|
version '0.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
junitVersion = '5.7.0'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |