The Artima Developer Community
Sponsored Link

Java Buzz Forum
How to exclude libraries from all dependencies in Gradle

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
justin cater

Posts: 19616
Nickname: justin78
Registered: Mar, 2011

Justin Cater is executive editor at Java Code Geeks
How to exclude libraries from all dependencies in Gradle Posted: Mar 30, 2015 11:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by justin cater.
Original Post: How to exclude libraries from all dependencies in Gradle
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
Latest Java Buzz Posts
Latest Java Buzz Posts by justin cater
Latest Posts From Java Code Geeks

Advertisement

I am using Spring boot. Spring boot by default comes with logback. I wanted to use log4j (for whatever reasons..) In order to do that I had to exclude logback and add new log4j dependencies: Logback is “hidden” inside this package: compile("org.springframework.boot:spring-boot-starter:$project.ext.springBootVersion") { exclude module: 'org.springframework.boot:spring-boot-starter-logging' } compile("org.springframework.boot:spring-boot-starter-log4j:$project.ext.springBatchVersion") Now when you try to run app you ...

 

Read: How to exclude libraries from all dependencies in Gradle

Topic: March 2015 New Java Performance Tips Previous Topic   Next Topic Topic: Aggregate Installation Tips

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use