Comments (13)
Did you refresh gradle dependencies?
from spongeapi.
yes, it would still be referencing the old vectors if I haddn't, and yes I removed the old imports.
from spongeapi.
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.
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.
you can't use the API jar directly as it references a few other libraries
from spongeapi.
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.
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.
@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.
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.
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.
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.
@gratimax thoughts on distributing an uberjar?
On Thu Dec 04 2014 at 5:36:33 PM gratimax [email protected] wrote:
β
Reply to this email directly or view it on GitHub
#262 (comment).
from spongeapi.
for the API this is most likely not hapening, it encourages bad development habits
from spongeapi.
Related Issues (20)
- Expose FastUtil in API HOT 2
- Can't get Biome Volume Factory with factory provider HOT 1
- Server-scoped PlayerChatRouter
- Ability to Hide Entities - "Sending Single Client Data" HOT 1
- Add method to retrieve level name from world properties
- Add Java Modules to Sponge API
- Amendments to API org.spongepowered.api.service.permission.SubjectData
- Enhanced Loot Table support HOT 1
- Typo
- automatic parameterized registration of plugin derived permission sets HOT 1
- Add a DataFormats.SNBT
- DataTranslator registry HOT 1
- Unregister an existing command registration
- Compile API 9 in Java 8 HOT 1
- Review content of util package HOT 1
- Make ServersideConnectionEvent.Handshake a Cancellable MessageEvent, like Auth
- Inventory from BlockSnapshot
- Return type of Container#type()
- Ability to get active bossbars on player
- error which mod spongepowered HOT 1
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 spongeapi.