Comments (1)
The reason for this was for different applications to be able to share the same downloaded dependency and each have different relocated jars.
Another advantage is to property be able to detect change in the library version with the hash from the repo.
If needed, you can customize the behavior of each component by providing different implementations in the ApplicationBuilder.
Heres what I would recommend for your requirement:
-
Make an implementation of RelocationHelper that does not generate anything. Use this as the relocationHelper in the application builder.
-
Make a DependencyDownloader implementation that uses the default impl URLDependencyDownloader and relocates it there itself using JarFileRelocator.
from slimjar.
Related Issues (20)
- VerifyingRelocationHelper - No data available HOT 2
- Download directory gets removed after dependencies are loaded HOT 9
- Skip download if already exists HOT 11
- Choose download location for SlimJar's own dependencies HOT 2
- Add the ability to provide own logger instance HOT 6
- Multi-module issue. HOT 7
- Add exclude feature to "slim" HOT 2
- Unexpected checksum behavior. HOT 1
- Can't inject dependencies HOT 11
- it would be good if you push the sources with javadocs of slimjar artifact to the repository
- sometimes slimjar task stucks HOT 1
- Change default download repo HOT 19
- Project fails to build with Gradle plugin v1.2.2 HOT 2
- Package io.github.slimjar.app.builder does not exist HOT 1
- IllegalArgumentException: URI is not hierarchical
- SlimJar repository HOT 2
- Cannot resolve GSON HOT 11
- Accidental PR HOT 1
- Doesn't support downloading without the Content-Length header HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimjar.