Move license into jar during compile process (#3826)

This commit is contained in:
BlockyTheDev
2022-10-08 15:10:57 +02:00
committed by GitHub
parent 25e6aecf13
commit d4c3ceaf2b
2 changed files with 7 additions and 674 deletions

View File

@ -54,6 +54,13 @@ tasks.processResources {
"date" to rootProject.grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd"))
)
}
doLast {
copy {
from(File("$rootDir/LICENSE"))
into("$buildDir/resources/main/")
}
}
}
tasks {