Skip to content

Commit

Permalink
Added jar manifest, removed legacy Jenkins file
Browse files Browse the repository at this point in the history
  • Loading branch information
Adubbz committed Nov 22, 2023
1 parent eb90661 commit b796f17
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 60 deletions.
60 changes: 0 additions & 60 deletions Jenkinsfile

This file was deleted.

17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,23 @@ dependencies {
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
}

jar {
manifest {
attributes([
'Specification-Title' : mod_name,
'Specification-Vendor' : mod_author,
'Specification-Version' : mod_version,
'Implementation-Title' : project.name,
'Implementation-Version' : mod_version,
'Implementation-Vendor' : mod_author,
'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
'Timestamp' : System.currentTimeMillis(),
'Built-On-Java' : "${System.getProperty('java.vm.version')} (${System.getProperty('java.vm.vendor')})",
'Build-On-Minecraft' : minecraft_version
])
}
}

mixin {
add sourceSets.main, "${mod_id}.refmap.json"
config "${mod_id}.mixins.json"
Expand Down

0 comments on commit b796f17

Please sign in to comment.