plugins { id 'java' id 'war' id 'org.akhikhl.gretty' } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile project(':SharedLibrary') // https://mvnrepository.com/artifact/junit/junit testCompile 'junit:junit:4.12' // https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api providedCompile 'javax.servlet:javax.servlet-api:4.0.0' // https://mvnrepository.com/artifact/com.google.code.gson/gson compile 'com.google.code.gson:gson:2.8.2' } gretty { contextPath = '/' }