#Multi modules

1 messages · Page 1 of 1 (latest)

keen reef
#

a

#

@vernal bobcat

#

so now

#

I explain you

vernal bobcat
#

okay

keen reef
#

Each NMS implementation needs to depend on the each paper-jar version so then you can use the NMS things from it, so that depend should contain <scope>provided</scope> - So then that jar is not shaded

vernal bobcat
#

yes

keen reef
#

right do that

#

and add to each NMS implementation pom the maven-shade-plugin

vernal bobcat
#

i have it setup like this

keen reef
#

perfect

#

So to each nms implementation add their paper api for nms or what they use, im not sure

#

And then add the scope provided

#

I never use paper haha

#

Im just trying to do my best

vernal bobcat
#

im only using paper because im lazy to do all the stuff for mojang mappings in spigot

keen reef
#

right

#

uplaod your current setup to github

#

and send link again

#

i lsot it

vernal bobcat
keen reef
#

perfect

vernal bobcat
#

there just uploaded

#

very barebones

#

but hopefully that works

keen reef
#

dd a .gitignore file

#

with the next contnet

#

When working with java project

#

.iml files shouldnt be uploaded because they are ide configs

vernal bobcat
#

whoops

#

i can easily fix that

keen reef
#

So do the next

vernal bobcat
#

i'll upload more once i add some things into the NMS class

keen reef
#

i use this .gitignore

vernal bobcat
#

it was in the wrong path

#

that's why

keen reef
#

much simplier

#

use this

#
*.iml
.idea
**/target/
#

That will not allow to every iml file not upload and also the jars

#

Because the jars have to be uploaded via the release thing, but you can remove that part out

vernal bobcat
#

👍

keen reef
#

if need something else related to multi module

#

Just ask on spigot or dm me

#

I mainly do all projects with maven multi module

#

i sent request if you need help sepecific with multi modules