Answer the question
In order to leave comments, you need to log in
How to set up Gradle for a web application?
Good evening, please tell me how to set up a gradle script for compiling and deploying tomcat web applications. I use servlet and jstl and so far I have such a script, but I can’t figure out what to do next ...
apply plugin: 'java'
apply plugin: 'war'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question