plugins { id 'java' id 'war' } group 'com.example' 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') implementation 'com.google.code.gson:gson:2.8.6' testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}") //implementation files('build/libs/Clavardage-1.0.jar') } test { useJUnitPlatform() }