aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-30 22:01:15 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-30 22:01:15 +0100
commit00aadb43fcf8d9557987f60f476a44f4b22a0c45 (patch)
tree5762122614144d247ec6a22126635f35200170d6 /build.gradle.kts
parent1c0090ec301b87edebc29453287e585f88de2c4f (diff)
downloadLocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.gz
LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.bz2
LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.zip
refactor: Add more item ids
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 269f000..440e815 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -106,6 +106,7 @@ dependencies {
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")
shadowImpl(kotlin("stdlib-jdk8"))
+ implementation("org.jspecify:jspecify:1.0.0")
shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") {
isTransitive = false
@@ -178,6 +179,7 @@ abstract class GenerateItemIds : DefaultTask() {
writer.appendLine("/**")
writer.appendLine(" * Automatically generated {@link ItemId} list.")
writer.appendLine(" */")
+ writer.appendLine("@org.jspecify.annotations.NullMarked")
writer.appendLine("public class ItemIds {")
val gson = Gson()
for (item in items) {