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:
- clone project , define dependency (very stupid idea, i'm ashamed suggest sth that)
- contact author , ask him/her if can copy class need use. if can copy class along credits.
- 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
Post a Comment