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

    c++ - C/pp Sockets, recv()/send() works only under gdb -

    GO: Serve static pages -

    objective c - How to open front/back camera at the same time in iOS developing? -