Comments (5)
Problem solved
For maven-shade-plugin users, add this to your transformers
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
For more information about Resource Transformers, refer to this page
from ikonli.
According to the documentation, this should be enough
shadowJar {
transform(ServiceFileTransformer)
}
Or even this
shadowJar {
mergeServiceFiles()
}
from ikonli.
AFAIK multiple instances of a service file (such as META-INF/services/org.kordamp.ikonli.IkonHandler
) are supported by the ServiceLoader
facility added since JDK6. All matching implementations of a particular service should be loaded, regardless of the order they may appear in the classpath.
Creating a fat JAR with just the regular Gradle Jar task is not the way to go, as service files must be merged. This merging behavior is provided by the Gradle Shadow plugin whose setup is separate from this library.
from ikonli.
Are there any specific Shadow config options that are relevant to solving the above mentioned values? Because with default shadow config I did not have much luck. To which options should one pay attention?
from ikonli.
What about maven-shade-plugin users ?
from ikonli.
Related Issues (20)
- Bitray Link Broken HOT 1
- NullPointerException using modular approach HOT 3
- Tooltips on FontIcon not working properly for some icon sets
- Style: The icons in JavaFx when use ":selected" is not working? HOT 3
- Not gotting my Custom icon in my button HOT 5
- Hover Icon HOT 1
- ikonli-bom lists ikonli-browser as dependency
- FontAwesome - plans? HOT 3
- Font.loadFont() two or more times with the same font family fails on iOS
- Specifying icon size in "em" is not working HOT 3
- Some CoreUI cheat sheet samples are off HOT 1
- Unable resolve org.kordamp.ikonli:ikonli-materialdesign2-pack icons via FXML's "iconLiteral" attribute. HOT 2
- Cannot resolve 'mdi-clock' HOT 1
- Issue with third-party library using Ikonly: Exception in thread "JavaFX Application Thread" java.lang.UnsupportedOperationException: Cannot resolve 'mdi-close' HOT 3
- Resizing ikons dynamically HOT 1
- Browser icon displaying problem
- JFXCentral Badge HOT 2
- Cannot bind size then set font HOT 1
- Font Awesome 6
- Draw FontIcon (Ikonli) directly on "javafx.scene.Canvas"
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 ikonli.