From bbb8816211a36da2acf4d19dcf0fe0aca863e678 Mon Sep 17 00:00:00 2001 From: Kyle Wood Date: Tue, 15 Jun 2021 00:56:07 -0500 Subject: [PATCH] Update to paperweight 1.0.0, with automatic library imports --- build-data/library-imports.txt | 12 +++++++----- build.gradle.kts | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build-data/library-imports.txt b/build-data/library-imports.txt index aa3c46be31..e6e68fdb6f 100644 --- a/build-data/library-imports.txt +++ b/build-data/library-imports.txt @@ -1,5 +1,7 @@ -authlib com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.java -datafixerupper com/mojang/datafixers/DataFixerBuilder.java -datafixerupper com/mojang/datafixers/util/Either.java -datafixerupper com/mojang/serialization/codecs/KeyDispatchCodec.java -datafixerupper com/mojang/serialization/Dynamic.java +# You can use this file to import files from minecraft libraries into the project +# format: +# +# both fully qualified and a file based syntax are accepted for : +# authlib com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.java +# datafixerupper com.mojang.datafixers.DataFixerBuilder +# datafixerupper com/mojang/datafixers/util/Either.java diff --git a/build.gradle.kts b/build.gradle.kts index ada32f29a8..264f4a7b7c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { java id("com.github.johnrengelman.shadow") version "7.0.0" apply false - id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT" + id("io.papermc.paperweight.core") version "1.0.0" } subprojects {