This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I need to add and shade a dependency that is located on the file system of my machine, how can I do this using Gradle?
I already know how to do this with files not located on my file system:
configurations { shade compile.extendsFrom shade } dependencies { shade "some.group:artifact:version" }
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้
dependencies { shade files('path/to/yourjar.jar') } jar { from configurations.embed.collect { it.isDirectory() ? it : zipTree(it) } }
I need to add and shade a dependency that is located on the file system of my machine, how can I do this using Gradle?
I already know how to do this with files not located on my file system:
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้