Comments (4)
Hello @chitralverma, sbtJniCoreScope := Compile
setting should be enough.
I'm using this plugin here and it keeps the dependency after the release.
Mb you could share the project structure that causes this problem? I.e. a minimized project that allows to reproduce the error happening.
from sbt-jni.
Hi @pomadchin , If you download the jar from here, and run the command below, you will see that the class NativeLoader
does not exist in the jar. Am I doing something wrong?
java -jar <path to downloaded jar>
im running + publishLocal
in sbt shell and picking up my jar from ~/.ivy2/local/ ...
from sbt-jni.
It is a transitive dependency, you can use SBT to configure the PDAL dependency in this case; and SBT JNI will pull down the sbt-jni-core from maven central and put it into your app classpath.
I'd recommend you to get familiar with https://www.scala-sbt.org/1.x/docs/Library-Dependencies.html#Managed+Dependencies
from sbt-jni.
yea I saw that it's present in the generated pom.
Thanks, closing this.
from sbt-jni.
Related Issues (20)
- failed to bind cmake project HOT 3
- Expose BuildTools parameters HOT 1
- sbt test doesn't find the .so HOT 4
- Cargo unexpected argument HOT 3
- Cargo workspace HOT 12
- Zig support
- Add support for JDK 10 HOT 17
- Using sbt-jni with multiple c++ libraries HOT 2
- Library cannot be found on the classpath HOT 1
- sbt-javah mangles names of @native methods in objects incorrectly HOT 9
- Running 'javah' gives a ProviderNotFoundException HOT 3
- javah failed with ClassCastException HOT 7
- javah requires JVM 11 HOT 8
- Scala 3 support
- Migrate to `libpg_query` `13-latest`
- Change groupId to com.github.sbt HOT 1
- Release to MavenCentral HOT 2
- native library naming. HOT 4
- Mac M1 nativeCompile not working HOT 2
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 sbt-jni.