apply plugin: 'java' apply plugin: 'war' apply plugin: 'org.akhikhl.gretty' dependencies { compile project(':juick-server-jdbc') compile project(':juick-server-web') compile 'com.rometools:rome:1.8.0' compile 'com.rometools:rome-modules:1.8.0' providedRuntime 'mysql:mysql-connector-java:5.1.40' testCompile "junit:junit:${rootProject.junitVersion}" testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}" testCompile "org.mockito:mockito-core:${rootProject.mockitoVersion}" testCompile "org.springframework:spring-test:${rootProject.springFrameworkVersion}" } compileJava.options.encoding = 'UTF-8' gretty { httpPort = 8080 contextPath = '/' servletContainer = 'tomcat8' } configurations { all*.exclude module: 'commons-logging' }