aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-05 22:17:02 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-05 22:17:02 +0200
commit3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 (patch)
treeb383c2c584a96b93c46d1dae3efcd3c6571e3d05 /build.gradle.kts
parent5ee4b8d925eb12e068038a1fd2e1f35cdd8ef87e (diff)
downloadfirmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.gz
firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.bz2
firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.zip
Port to 1.21
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts8
1 files changed, 2 insertions, 6 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 8fe454f..aaee76d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -251,11 +251,11 @@ tasks.processResources {
tasks.scanLicenses {
scanConfiguration(nonModImplentation)
scanConfiguration(configurations.modCompileClasspath.get())
- outputFile.set(file("$buildDir/LICENSES-FIRMAMENT.json"))
+ outputFile.set(layout.buildDirectory.file("LICENSES-FIRMAMENT.json"))
licenseFormatter.set(moe.nea.licenseextractificator.JsonLicenseFormatter())
}
tasks.create("printAllLicenses", LicenseDiscoveryTask::class.java, licensing).apply {
- outputFile.set(file("$buildDir/LICENSES-FIRMAMENT.txt"))
+ outputFile.set(layout.buildDirectory.file("LICENSES-FIRMAMENT.txt"))
licenseFormatter.set(moe.nea.licenseextractificator.TextLicenseFormatter())
scanConfiguration(nonModImplentation)
scanConfiguration(configurations.modCompileClasspath.get())
@@ -268,7 +268,3 @@ tasks.create("printAllLicenses", LicenseDiscoveryTask::class.java, licensing).ap
licensing.addExtraLicenseMatchers()
fletchingTable.defaultMixinEnvironment.set("client")
-
-//vineflower {
-// toolVersion.set("1.9.1")
-//}