Comments (4)
This is probably because uberdeps doesn’t know how to build multi-release jar. I’ll look into it
from skija.
Try building uberjar with --multi-release
flag?
[~/ws/humbleui] clj -M:uberjar --aliases dev --multi-release
[uberdeps] Packaging target/humbleui.jar...
+ dev/**
+ test/**
+ src/**
! Duplicate entry ".DS_Store" from "src/**" already seen in "dev/**"
+ resources/**
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
+ criterium/criterium #:mvn{:version "0.4.6"}
+ io.github.humbleui/jwm #:mvn{:version "0.4.12"}
+ io.github.humbleui/skija-linux #:mvn{:version "0.109.0"}
. io.github.humbleui/skija-shared #:mvn{:version "0.109.0"}
+ io.github.humbleui/skija-macos-arm64 #:mvn{:version "0.109.0"}
- skipping duplicate lib io.github.humbleui/skija-shared #:mvn{:version 0.109.0}
+ io.github.humbleui/skija-macos-x64 #:mvn{:version "0.109.0"}
- skipping duplicate lib io.github.humbleui/skija-shared #:mvn{:version 0.109.0}
+ io.github.humbleui/skija-windows #:mvn{:version "0.109.0"}
- skipping duplicate lib io.github.humbleui/skija-shared #:mvn{:version 0.109.0}
+ io.github.humbleui/types$clojure #:mvn{:version "0.2.0"}
! Duplicate entry "META-INF/versions/9/module-info.class" from "io.github.humbleui/types$clojure #:mvn{:version "0.2.0"}" already seen in "io.github.humbleui/skija-shared #:mvn{:version "0.109.0"}"
+ nrepl/nrepl #:mvn{:version "1.0.0"}
+ org.clojure/clojure #:mvn{:version "1.11.1"}
. org.clojure/core.specs.alpha #:mvn{:version "0.2.62"}
. org.clojure/spec.alpha #:mvn{:version "0.3.218"}
+ org.clojure/tools.namespace #:mvn{:version "1.3.0"}
. org.clojure/java.classpath #:mvn{:version "1.0.0"}
. org.clojure/tools.reader #:mvn{:version "1.3.6"}
[uberdeps] Packaged target/humbleui.jar in 4286 ms
[~/ws/humbleui] java -cp target/humbleui.jar clojure.main -m user
nREPL server started on port 49228 on host localhost - nrepl://localhost:49228
from skija.
Uberdeps 1.2.0 should now also auto-detect multi-release jars and set the flag automatically. It’ll also remove all module-info.class from uberjar. Let me know if that works for you (I haven’t checked with Graal, but works on normal Java 18)
from skija.
Works for me now as well. Thanks!
GraalVM produces a new error - although it is related to JWM now.
So this issue is all cleared up 👌🏼
from skija.
Related Issues (20)
- Add a linux arm64 build HOT 6
- LWJGL, JRE Exception: Access Violation @ DirectContext.makeGL HOT 2
- Rect size limit? HOT 2
- Typeface._nMakeFromName returns null on linux HOT 3
- Text Style Scene in examples crashed on linux because of AssertionError HOT 3
- The performance monitor of Text Shape Bench example is abnormal on Linux HOT 1
- Force no antialiasing when painting / set texture filter quality? HOT 4
- Starting two Skija-using applications at the same time may segfault HOT 3
- [Question] Multiple windows with a shared DirectContext? HOT 9
- skija.dll fails to load (windows 10 pro / directx12 ) HOT 11
- Some path effects causing shader compilation errors on macOS HOT 2
- how to get a canvas from Image or Bitmap HOT 3
- Fat/uber Jar doesn't work because of the multi-release feature HOT 2
- Java 8 doesn't work HOT 4
- Memory Leak: Runtime Effect + Runtime generated Images HOT 2
- How to update shader uniforms? HOT 1
- How do we add Metal Kit Device to the surface and render HOT 3
- Canvas not marked as closed when its parent Surface is collected HOT 3
- Create an image from backend texture handle HOT 1
- Doesn't seem to be any way to use LCD font rendering? HOT 9
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 skija.