diff options
author | Vitaly Takmazov | 2017-05-12 08:53:53 -0400 |
---|---|---|
committer | Vitaly Takmazov | 2017-05-12 08:53:53 -0400 |
commit | 373cc36a337c67ab12b773366be0a862d7d88ae8 (patch) | |
tree | 978d0cfaf8b142e7f100aa6d9628c40e7e78ba70 /juick-server | |
parent | 2b56f703be2a562b0c96b1eba350706dbbaef04d (diff) |
gradle: exclude commons and logback libs from war (don't forget to install from apt)
Diffstat (limited to 'juick-server')
-rw-r--r-- | juick-server/build.gradle | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/juick-server/build.gradle b/juick-server/build.gradle index 5305e7dc..308b6ede 100644 --- a/juick-server/build.gradle +++ b/juick-server/build.gradle @@ -12,20 +12,20 @@ dependencies { 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}" + providedCompile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}" + providedCompile "ch.qos.logback:logback-core:${rootProject.logbackVersion}" + providedCompile "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}" + providedCompile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}" + providedCompile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}" + providedCompile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}" + providedCompile "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" + providedCompile "org.apache.commons:commons-lang3:3.5" + providedCompile "org.apache.commons:commons-collections4:4.1" + providedCompile "commons-io:commons-io:2.5" + providedCompile "commons-codec:commons-codec:1.10" compile 'com.github.ben-manes.caffeine:caffeine:2.4.0' @@ -35,7 +35,7 @@ dependencies { 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" + providedCompile "org.apache.commons:commons-dbcp2:2.1.1" compile "com.googlecode.log4jdbc:log4jdbc:1.2" compile "javax.inject:javax.inject:1" @@ -44,7 +44,7 @@ dependencies { providedCompile "javax.servlet:javax.servlet-api:3.1.0" - runtime "commons-fileupload:commons-fileupload:1.3.2" + providedRuntime "commons-fileupload:commons-fileupload:1.3.2" testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.3" testCompile "junit:junit:${rootProject.junitVersion}" |