36 lines
No EOL
669 B
Groovy
36 lines
No EOL
669 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group 'ru.erius'
|
|
version '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
junitVersion = '5.8.2'
|
|
}
|
|
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly('javax.mvc:javax.mvc-api:1.0.0')
|
|
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
|
|
compileOnly('javax.servlet.jsp:jsp-api:2.0')
|
|
compileOnly('javax.servlet:jstl:1.2')
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |