Equivalent of SBT's "provided" dependency for fatjar in Gradle? -


Using Scala's SBT, I can indicate that the dependency required for compilation will be "provided" in the runtime environment, such as:

  val catalina = "org.apache.tomcat"% "tomcat-catalina"% V.tomcat% "provided"  

Marked as

Itemprop = "Text">

At the moment, Gradle does not provide any configuration out-of-the-box. However, there are some plugins linking this functionality:

  • Alternatively, you can also configure this configuration as yourself can do . You will see many examples for this.


    Comments

    Popular posts from this blog

    java - org.apache.http.ProtocolException: Target host is not specified -

    java - Gradle dependencies: compile project by relative path -

    ruby on rails - Object doesn't support #inspect when used with .include -