mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-27 17:28:23 +01:00
19 lines
391 B
Groovy
19 lines
391 B
Groovy
// Buildscript for loaders & standalone platforms
|
|
|
|
task copyOutput(type: Copy) {
|
|
from(this.shadowJar)
|
|
into rootProject.file('jars')
|
|
}
|
|
|
|
shadowJar {
|
|
// Don't add -all to the end of the jar name
|
|
archiveClassifier = ''
|
|
|
|
// Include the license in the jar
|
|
from(rootProject.file('LICENSE')) {
|
|
rename { fileName -> 'LICENSE.txt' }
|
|
}
|
|
|
|
finalizedBy copyOutput
|
|
}
|