So I'm making a gradle plugin from java, and one of my goal is to add more dependencies from the content of a dependency
for example in dependency A, And I know the dependency have dependency.json in the jar file. So I want to read the dependency.json and add dependencies based on the content of the file. But how can I retrieve the jar of the dependency A?
Thanks in advance!
Just figured out a way to retrieve jar. Using configuration, add dependency to the configuration and use Configuration.files(Dependency...)
works!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.