Skip to content

Sanitize build script#550

Open
DBotThePony wants to merge 1 commit into
McJtyMods:1.18from
DBotThePony:1.18
Open

Sanitize build script#550
DBotThePony wants to merge 1 commit into
McJtyMods:1.18from
DBotThePony:1.18

Conversation

@DBotThePony

@DBotThePony DBotThePony commented Apr 6, 2022

Copy link
Copy Markdown

Name properly a lot of stuff
Change mod version to match exact minecraft version
Assemble deobfuscated (dev version) jar
Assemble sources jar (for IDE)
Do not include forgegradle mapped dependencies
Change group to mcjty
Remove jcenter since it is deprecated
Use not deprecated archive classifier

Fixes #548

Name properly a lot of stuff
Change mod version to match exact minecraft version
Assemble deobfuscated (dev version) jar
Assemble sources jar (for IDE)
Do not include forgegradle mapped dependencies
Change group to mcjty
Remove jcenter since it is deprecated
Use not deprecated archive classifier
@DBotThePony

Copy link
Copy Markdown
Author

Result:
idea64_hmXRJHGW1R
idea64_eMUs4yXpPf
idea64_47BdavEpG4

No fg.deobf, no transitive dependency override, IDE shows all the comments you left in your files.

Comment thread build.gradle
}
}

task sourceJar(type: Jar) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use java.withSourcesJar()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants