30 lines
No EOL
544 B
Groovy
30 lines
No EOL
544 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group 'fr.insa.clavardator.web'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
junitVersion = '5.7.0'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
|
|
compileOnly('javax.websocket:javax.websocket-api:1.1')
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |