Giter Club home page Giter Club logo

Comments (13)

simon816 avatar simon816 commented on August 12, 2024

Did you refresh gradle dependencies?

from spongeapi.

Soren025 avatar Soren025 commented on August 12, 2024

yes, it would still be referencing the old vectors if I haddn't, and yes I removed the old imports.

from spongeapi.

Voltasalt avatar Voltasalt commented on August 12, 2024

Add the Sonatype Nexus repo.
Not sure how it is in Gradle, but for Maven add this into your :

<repository>
    <id>sonatype-nexus</id>
    <url>https://oss.sonatype.org/content/groups/public</url>
</repository>

from spongeapi.

Soren025 avatar Soren025 commented on August 12, 2024

a simple fix indeed that did the trick adding the sonatype repo, at least in the short term. For those that use the api jar directly without maven or gradle however I feel this wont work.

from spongeapi.

progwml6 avatar progwml6 commented on August 12, 2024

you can't use the API jar directly as it references a few other libraries

from spongeapi.

nightpool avatar nightpool commented on August 12, 2024

Well, I suppose we could build an uber jar to link against, that would be
pretty useful for API development.

On Thu Dec 04 2014 at 3:16:10 PM Zach [email protected] wrote:

you can't use the API jar directly as it references a few other libraries

β€”
Reply to this email directly or view it on GitHub
#262 (comment)
.

from spongeapi.

progwml6 avatar progwml6 commented on August 12, 2024

users really should be using something like gradle or maven to be handling dependencies and not relying on uberjars as it makes it exponentially harder for others to contribute to a plugin when there is no build script

from spongeapi.

nightpool avatar nightpool commented on August 12, 2024

@zach that's true, but I can think of a lot of smaller projects that don't
have any dependencies and just use Eclipse's compilation or w/e. Also a lot
of people just learning or starting out with java aren't going to want to
have to learn a completely new toolchain as wellβ€”they're just going to want
to use whatever comes built in to their IDE.

On Thu Dec 04 2014 at 5:06:09 PM Zach [email protected] wrote:

users really should be using something like gradle or maven to be handling
dependencies and not relying on uberjars as it makes it exponentially
harder for others to contribute to a plugin when there is no build script

β€”
Reply to this email directly or view it on GitHub
#262 (comment)
.

from spongeapi.

Soren025 avatar Soren025 commented on August 12, 2024

Even with using gradle or maven, people shouldn't have add both sponge and something else. Especially something used so often. Vector3i is used for getting blocks from BlockVolume, Vector3d is used in Location.

from spongeapi.

progwml6 avatar progwml6 commented on August 12, 2024

ALL dependencies of sponge should be pulled transitively if using gradle or maven as our repo has the POM descriptors these tools need to find the dependencies

from spongeapi.

maxov avatar maxov commented on August 12, 2024

This was a natural consequence of moving math over to flow-math. While this has some disadvantages we ultimately decided for it because of the pros. You should be using gradle/maven for plugin development anyway, this is not a new argument.

Also, the flow team has been very helpful in our needs for the library(considering a few flow team members are part of Sponge). They'll have a release of flow-math and put it on maven central soon.

from spongeapi.

nightpool avatar nightpool commented on August 12, 2024

@gratimax thoughts on distributing an uberjar?

On Thu Dec 04 2014 at 5:36:33 PM gratimax [email protected] wrote:

Closed #262 #262.

β€”
Reply to this email directly or view it on GitHub
#262 (comment).

from spongeapi.

progwml6 avatar progwml6 commented on August 12, 2024

for the API this is most likely not hapening, it encourages bad development habits

from spongeapi.

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.