change mod output
This commit is contained in:
15
build.gradle
15
build.gradle
@@ -170,14 +170,17 @@ tasks.named('processResources', ProcessResources).configure {
|
|||||||
tasks.named('jar', Jar).configure {
|
tasks.named('jar', Jar).configure {
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
'Specification-Title' : mod_id,
|
'Specification-Title' : mod_id,
|
||||||
'Specification-Vendor' : mod_authors,
|
'Specification-Vendor' : mod_authors,
|
||||||
'Specification-Version' : '1', // We are version 1 of ourselves
|
'Specification-Version' : '1', // We are version 1 of ourselves
|
||||||
'Implementation-Title' : project.name,
|
'Implementation-Title' : project.name,
|
||||||
'Implementation-Version' : project.jar.archiveVersion,
|
'Implementation-Version' : project.jar.archiveVersion,
|
||||||
'Implementation-Vendor' : mod_authors
|
'Implementation-Vendor' : mod_authors
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
archiveBaseName.set(mod_id) // Base name: mod ID
|
||||||
|
archiveVersion.set("${mod_version}-${minecraft_version}") // Version and Minecraft version
|
||||||
|
archiveClassifier.set('') // No additional classifier
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example configuration to allow publishing using the maven-publish plugin
|
// Example configuration to allow publishing using the maven-publish plugin
|
||||||
|
|||||||
Reference in New Issue
Block a user