Disable source JAR generation

This commit is contained in:
embeddedt 2023-02-24 18:14:28 -05:00
parent b6497cee4e
commit 6f5f21267e
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -114,7 +114,7 @@ java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
// withSourcesJar()
}
// Example for how to get properties into the manifest for reading at runtime.
@ -141,9 +141,6 @@ publishing {
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
}