From e9dc2e4558ace17b8c352eb4892b7b5b36d3c8f9 Mon Sep 17 00:00:00 2001 From: Skye Date: Thu, 17 Oct 2024 19:53:11 +0900 Subject: [PATCH] Also format Kotlin --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 853fb30ef..2ad4edd9d 100644 --- a/build.gradle +++ b/build.gradle @@ -83,7 +83,10 @@ subprojects { googleJavaFormat() formatAnnotations() indentWithTabs(2) - importOrder('\\#', 'java|javax', 'net.minecraft|com.mojang', 'net.fabricmc|net.minecraftforge', 'at.petrak', '') + } + kotlin { + ktfmt().googleStyle() + indentWithTabs(2) } } }