Jump to content

[REQUEST] Building


Gwafu

Recommended Posts

Good day!

 

I'm really confused on how the Gradle building system works. I decided just to post a request here and, if possible, be taught about it.

 

Here's my dev space:

 

forge > src > main > java > root >

 

Inside the root folder:

 

> api

>> mod0api

>> mod1api

>> mod2api

> mod0

> mod1

> mod2

 

(Note that all of these are folders, the mod files are inside these.)

 

The api folder contains API stuff used by mod0, mod1, and mod2.

mod2 depends on mod1 which depends on mod0.

 

forge > src > main > resources > assets >

> mod0assets

> mod1assets

> mod2assets

 

Is it possible to make the build result into:

 

mod0.jar

-> root>mod0

-> root>api>mod0api

-> assets>mod0assets

-> mcmod.info

 

mod1.jar

-> root>mod1

-> root>api>mod1api

-> assets>mod1assets

-> mcmod.info

 

mod2.jar

-> root>mod2

-> root>api>mod2api

-> assets>mod2assets

-> mcmod.info

 

Any help is appreciated. Thanks in advance!

Link to comment
Share on other sites

Good day!

 

I'm really confused on how the Gradle building system works. I decided just to post a request here and, if possible, be taught about it.

 

Here's my dev space:

 

forge > src > main > java > root >

 

Inside the root folder:

 

> api

>> mod0api

>> mod1api

>> mod2api

> mod0

> mod1

> mod2

 

(Note that all of these are folders, the mod files are inside these.)

 

The api folder contains API stuff used by mod0, mod1, and mod2.

mod2 depends on mod1 which depends on mod0.

 

forge > src > main > resources > assets >

> mod0assets

> mod1assets

> mod2assets

 

Is it possible to make the build result into:

 

mod0.jar

-> root>mod0

-> root>api>mod0api

-> assets>mod0assets

-> mcmod.info

 

mod1.jar

-> root>mod1

-> root>api>mod1api

-> assets>mod1assets

-> mcmod.info

 

mod2.jar

-> root>mod2

-> root>api>mod2api

-> assets>mod2assets

-> mcmod.info

 

Any help is appreciated. Thanks in advance!

I found something that might just help you build your project in its separate pieces like you said.

 

 

Link: http://www.minecraftforge.net/forum/index.php?topic=14791.0

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.