Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [REQUEST] Building
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
Gwafu

[REQUEST] Building

By Gwafu, July 6, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Gwafu    0

Gwafu

Gwafu    0

  • Tree Puncher
  • Gwafu
  • Members
  • 0
  • 36 posts
Posted July 6, 2014

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!

  • Quote

Share this post


Link to post
Share on other sites

darthvader45    0

darthvader45

darthvader45    0

  • Creeper Killer
  • darthvader45
  • Members
  • 0
  • 121 posts
Posted July 7, 2014

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

  • Quote

Share this post


Link to post
Share on other sites

AbrarSyed    9

AbrarSyed

AbrarSyed    9

  • Stone Miner
  • AbrarSyed
  • Forge Modder
  • 9
  • 51 posts
Posted July 9, 2014

please come on IRC to #ForgeGradle it will be much easier to help you out there.

  • Quote

width=600 height=100http://i56.tinypic.com/ruu0ao.png[/img]

^^ url to be changed.

Share this post


Link to post
Share on other sites

darthvader45    0

darthvader45

darthvader45    0

  • Creeper Killer
  • darthvader45
  • Members
  • 0
  • 121 posts
Posted July 10, 2014

Gwafu is having the problem, not me, but ok.  Plus, if you could contact him Abrar, and get his source, I could see how to build this via the tutorial link I posted.

  • Quote

Share this post


Link to post
Share on other sites

sequituri    118

sequituri

sequituri    118

  • Dragon Slayer
  • sequituri
  • Forge Modder
  • 118
  • 669 posts
Posted August 13, 2014

I got build dependencies like that to work by putting the folders in my settings.gradle file.

  • Quote

-S- (if I helped, please click Thank and applaud)


width=471 height=128http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • GamingTiger101
      Minecraft keeps crashing after updating to version 1.16.4

      By GamingTiger101 · Posted just now

      I reran the terminal for the client runconfigurations and it didn't change
    • diesieben07
      Forge is runnung on low fps

      By diesieben07 · Posted 45 minutes ago

      1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • diesieben07
      [1.16.4] How i can open a container by clicking on my mob

      By diesieben07 · Posted 45 minutes ago

      The container factory reads it and you then pass it on to the Container.
    • Pigvin_ice
      Forge is runnung on low fps

      By Pigvin_ice · Posted 53 minutes ago

    • Pigvin_ice
      Forge is runnung on low fps

      By Pigvin_ice · Posted 57 minutes ago

      I´ve installed forge for minecraft to play with my friends modded minecraft, but for some reason forge is only running on 30fps. I´m playing more graphics demanding game than modded minecraft with no problems on 75fps (monitor supports 75hz), but for some reason forge is only running non-smoothly and it really destroys my game feel :C. Optifine is also not working and I even tried to put graphics on the lowest and nothing happened   PC specs: CPU: AMD ryzen 5 1600 AF GPU: AMD radeon 5700 RAM: 8gb  
  • Topics

    • GamingTiger101
      2
      Minecraft keeps crashing after updating to version 1.16.4

      By GamingTiger101
      Started 12 hours ago

    • Pigvin_ice
      2
      Forge is runnung on low fps

      By Pigvin_ice
      Started 57 minutes ago

    • Klarks
      29
      [1.16.4] How i can open a container by clicking on my mob

      By Klarks
      Started Saturday at 09:56 PM

    • Peyang
      12
      [1.15.2] Display text in the upper right

      By Peyang
      Started 3 hours ago

    • Firstzcz
      33
      Minecraft modpack when loading world and it crash in 1.16.4

      By Firstzcz
      Started 3 hours ago

  • Who's Online (See full list)

    • diesieben07
    • Greek_Food_Boy
    • Hockeyplayerbob09
    • GamingTiger101
    • Frostnox
    • Danebi
    • Bia
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [REQUEST] Building
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community