Update the buildscript

This commit is contained in:
Ennui Langeweile 2023-06-04 23:11:31 -03:00
parent 74a5c3b4bf
commit 38c0031bbe
No known key found for this signature in database
GPG key ID: 688A9E714BCD13B2

View file

@ -4,7 +4,7 @@ plugins {
}
base.archivesName = project.archives_base_name
version = "${project.version}+${libs.versions.minecraft.get()}"
version = "$project.version+${libs.versions.minecraft.get()}"
group = project.maven_group
repositories {
@ -66,7 +66,7 @@ java {
// If you plan to use a different file for the license, don't forget to change the file name here!
jar {
from('LICENSE') {
rename { "${it}_${archivesBaseName}" }
rename { "${it}_${base.archivesName.get()}" }
}
}