Code Monkey home page Code Monkey logo

Comments (4)

pomadchin avatar pomadchin commented on August 23, 2024

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.

chitralverma avatar chitralverma commented on August 23, 2024

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.

pomadchin avatar pomadchin commented on August 23, 2024

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.

chitralverma avatar chitralverma commented on August 23, 2024

yea I saw that it's present in the generated pom.

Thanks, closing this.

from sbt-jni.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.