apply plugin: 'java-library' apply plugin: 'war' apply plugin: 'com.github.ben-manes.versions' sourceCompatibility = 1.8 dependencies { compile project(':juick-core') compile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}" compile "com.fasterxml.jackson.core:jackson-databind:${rootProject.jacksonVersion}" compile "com.fasterxml.jackson.core:jackson-annotations:${rootProject.jacksonVersion}" compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}" compile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}" compile "ch.qos.logback:logback-core:${rootProject.logbackVersion}" compile "ch.qos.logback:logback-access:${rootProject.logbackVersion}" compile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}" compile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}" compile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}" compile "org.slf4j:jul-to-slf4j:${rootProject.slf4jVersion}" compile "org.apache.httpcomponents:httpclient:4.5.3" compile "org.apache.commons:commons-lang3:3.5" compile "org.apache.commons:commons-collections4:4.1" compile "commons-io:commons-io:2.5" compile "commons-codec:commons-codec:1.10" compile 'com.github.ben-manes.caffeine:caffeine:2.4.0' compile "org.springframework:spring-context:${rootProject.springFrameworkVersion}" compile "org.springframework:spring-jdbc:${rootProject.springFrameworkVersion}" compile "org.springframework.security:spring-security-web:${rootProject.springSecurityVersion}" compile "org.springframework.security:spring-security-config:${rootProject.springSecurityVersion}" compile "org.apache.commons:commons-dbcp2:2.1.1" compile "com.googlecode.log4jdbc:log4jdbc:1.2" compile "javax.inject:javax.inject:1" compile "rocks.xmpp:xmpp-core-client:0.7.4" compile "rocks.xmpp:xmpp-extensions-client:0.7.4" providedCompile "javax.servlet:javax.servlet-api:3.1.0" runtime "commons-fileupload:commons-fileupload:1.3.2" testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.3" 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}" testCompile "org.springframework.security:spring-security-test:${rootProject.springSecurityVersion}" testRuntime "org.thymeleaf:thymeleaf-testing:3.0.2.RELEASE" testRuntime "mysql:mysql-connector-java:5.1.40" } compileJava.options.encoding = 'UTF-8' configurations { all*.exclude module: 'commons-logging' } configurations { testArtifacts.extendsFrom testRuntime } task testJar(type: Jar) { classifier "test" from sourceSets.test.output } artifacts { testArtifacts testJar }