aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-04 17:13:05 +0200
committernea <nea@nea.moe>2023-05-04 17:13:29 +0200
commita9f4aed56bed61f621a3a3faca2b77a085caabb6 (patch)
tree284c0a63ac584056a067a279ba6e069862d50f33
parent477184b7ffed24831ef18a147a1c23d5c60cf1aa (diff)
downloadfirmament-a9f4aed56bed61f621a3a3faca2b77a085caabb6.tar.gz
firmament-a9f4aed56bed61f621a3a3faca2b77a085caabb6.tar.bz2
firmament-a9f4aed56bed61f621a3a3faca2b77a085caabb6.zip
Add license info to jar
-rw-r--r--build.gradle.kts3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 8d27edc..da819c5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -139,11 +139,12 @@ tasks.processResources {
filesMatching("**/lang/*.json") {
// flattenJson(this)
}
+ from(tasks.license)
}
tasks.license {
scanConfiguration(project.configurations.compileClasspath.get())
- outputFile.set(file("$buildDir/LICENSES.json"))
+ outputFile.set(file("$buildDir/LICENSES-NEU.json"))
licenseFormatter.set(moe.nea.licenseextractificator.JsonLicenseFormatter())
}