java - Declare dependency to war file in Gradle -


based on gradle docs, define external jars means adding build.gradle following snippet (considering have {project_root}/libs/foo.jar) in place:

dependencies {   runtime files('libs/foo.jar') } 

however, using same dependency declaration *.war files doesn't work. possible? project i'm trying depend on builds war file.

since war layout different jar file standard layout, it's not possible declare war dependency file java project. possible ideas:

  1. clone project , define dependency (very stupid idea, i'm ashamed suggest sth that)
  2. contact author , ask him/her if can copy class need use. if can copy class along credits.
  3. contact author , ask him/her if make sense make codec open source (i know right now) , release standalone jar library (maybe along other classes used in project).

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -