Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

API files in jar


Nauktis
 Share

Recommended Posts

Hi,

 

I've learned a mod isn't supposed to ship the API in its jar file (which of course makes sense).

My problem is that by default (unless I missed something), the build.gradle takes everything in src/

 

How should I configure the build to exclude the api files from the jar?

 

Thanks a lot for your help.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://advocatesnairobi.com/سعر-ethereum-مقابل-الدولار/ https://advocatesnairobi.com/بي-واي-دي-2022/ https://advocatesnairobi.com/صرف-عملة-الريال-السعودي-مقابل-الدولار/ https://angosiam.com/تحويل-جنيه-مصري-الى-درهم-مغربي/ https://advocatesnairobi.com/سنة-كم-تاسسية-نادي-برشلونه/
    • https://advocatesnairobi.com/التداول-في-الاسهم/ https://myfemalefunda.com/ريال-قطري-مقابل-الدولار/ https://advocatesnairobi.com/مشروع-استراحة-على-الطريق-السريع-dwg/ https://advocatesnairobi.com/1-دولار-مقابل-التركي/ https://advocatesnairobi.com/سعر-صرف-البتكوين-مقابل-الدولار/
    • I need a make a large crate with 91 slots, but when i open it game crash and logs send Slot 55 not in valid range - [0,55) Block Class BlockEntity Class   BlockMenu Class   BlockScreen Class   can somebody explain me, what is wrong? before that block i do 5 crate's and they are work if you need Github Repo: https://github.com/zaDR0tic/FancyDecorativeBlocks/tree/master
    • I need a make a large crate with 91 slots, but when i open it game crash and logs send Slot 55 not in valid range - [0,55) Block Class BlockEntity Class   BlockMenu Class   BlockScreen Class   can somebody explain me, what is wrong? before that block i do 5 crate's and they are work if you need Github Repo: https://github.com/zaDR0tic/FancyDecorativeBlocks/tree/master
    • can someone tell me what is messing up my minecraft??? I have been trying the half and half method for hrs and I can't seem to fine the culprit. Here is my latest crash report: 02:09:39.174 game at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 02:09:39.174 game at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 02:09:39.174 game at java.base/java.lang.Thread.run(Thread.java:833) 02:09:39.174 game Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: com.simibubi.create.repack.registrate.util.entry.BlockEntry 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) 02:09:39.174 game at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) 02:09:39.174 game ... 34 more 02:09:39.778 monitor Process Monitor Process crashed with exit code 1
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.