mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
19 lines
432 B
Groovy
19 lines
432 B
Groovy
// Buildscript for loaders & standalone platforms
|
|
|
|
task copyOutput(type: Copy) {
|
|
from(this.shadowJar)
|
|
into rootProject.file('jars')
|
|
}
|
|
|
|
shadowJar {
|
|
// Adds the commit for snapshots to the end of the file name
|
|
archiveClassifier = tasks.jar.archiveClassifier
|
|
|
|
// Include the license in the jar
|
|
from(rootProject.file('LICENSE')) {
|
|
rename { fileName -> 'LICENSE.txt' }
|
|
}
|
|
|
|
finalizedBy copyOutput
|
|
}
|