hnOsmium0001

Untitled

Dec 27th, 2019
170
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I did the following:
  2. 1. add a testmod source set (probably could use test)
  3. 2. a configurations to extend from main
  4. ```
  5. configurations {
  6. testmodCompile.extendsFrom(compile)
  7. testmodCompileOnly.extendsFrom(compileOnly)
  8. testmodRuntimeOnly.extendsFrom(runtimeOnly)
  9. }
  10. ```
  11. 3. add the module to run config
  12. ```
  13. // In minecraft.runs.(client, server, and optionally data).mods
  14. mainmod_modid {
  15. source sourceSets.main
  16. }
  17. testmod_modid {
  18. source sourceSets.testmod
  19. }
  20. ```
  21. 4. refresh gradle + genIntellijRuns
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×