apply plugin: 'java' apply plugin: 'war' apply plugin: 'org.akhikhl.gretty' dependencies { compile project(':juick-server-web') compile "org.springframework:spring-websocket:${rootProject.springFrameworkVersion}" compile "org.springframework.social:spring-social-twitter:1.1.2.RELEASE" } compileJava.options.encoding = 'UTF-8' gretty { httpPort = 8080 contextPath = '' servletContainer = 'tomcat8' } configurations { all*.exclude module: 'commons-logging' }