aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-08-27 01:38:49 +0200
committernea <romangraef@gmail.com>2022-08-27 01:38:49 +0200
commit973c13e84f8e091a6a920779103d96559dcd32a8 (patch)
tree95741faaa85509216a3a5130a3d8cd48b1b415fd /build.gradle.kts
parent4c7bd601c4df4d03536e97e18e4b88d858330ad9 (diff)
downloadFirmament-973c13e84f8e091a6a920779103d96559dcd32a8.tar.gz
Firmament-973c13e84f8e091a6a920779103d96559dcd32a8.tar.bz2
Firmament-973c13e84f8e091a6a920779103d96559dcd32a8.zip
Switch to yarn mappings
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index af7feab..d2b9494 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -7,8 +7,9 @@ plugins {
kotlin("plugin.serialization") version "1.7.10"
id("dev.architectury.loom") version "0.12.0.+"
id("com.github.johnrengelman.shadow") version "7.1.2"
- id("moe.nea.licenseextractificator") version "0.0.1"
+ id("moe.nea.licenseextractificator") version "fffc76c"
id("com.github.eutro.hierarchical-lang") version "1.1.3"
+ id("io.github.juuxel.loom-quiltflower") version "1.7.2"
}
loom {
@@ -52,7 +53,7 @@ val transInclude by configurations.creating {
dependencies {
// Minecraft dependencies
"minecraft"("com.mojang:minecraft:${project.property("minecraft_version")}")
- "mappings"(loom.officialMojangMappings())
+ "mappings"("net.fabricmc:yarn:${project.property("yarn_version")}:v2")
// Fabric dependencies
modImplementation("net.fabricmc:fabric-loader:${project.property("fabric_loader_version")}")
@@ -130,7 +131,7 @@ tasks.processResources {
}
-tasks.create<moe.nea.licenseextractificator.LicenseDiscoveryTask>("license") {
+tasks.license {
scanConfiguration(project.configurations.compileClasspath.get())
outputFile.set(file("$buildDir/LICENSES.json"))
licenseFormatter.set(moe.nea.licenseextractificator.JsonLicenseFormatter())