User: joe Date: 24 Sep 23 10:09 Revision: bc1227cde804e6f1958198dd692c17887b06ee98 Summary: Merge branch '2023.1' into 2023.2 TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8769&personal=false Index: build.gradle.kts =================================================================== --- build.gradle.kts (revision 31a2af33e1a099b96c260a55bfec8c9da06e55bb) +++ build.gradle.kts (revision bc1227cde804e6f1958198dd692c17887b06ee98) @@ -23,6 +23,7 @@ import org.gradle.internal.jvm.Jvm import org.jetbrains.gradle.ext.settings import org.jetbrains.gradle.ext.taskTriggers +import org.jetbrains.intellij.tasks.PrepareSandboxTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jlleitschuh.gradle.ktlint.tasks.BaseKtLintCheckTask import org.jlleitschuh.gradle.ktlint.tasks.KtLintFormatTask @@ -71,6 +72,12 @@ archiveClassifier.set("gradle-tooling-extension") } +val externalAnnotationsJar = tasks.register("externalAnnotationsJar") { + from("externalAnnotations") + destinationDirectory.set(layout.buildDirectory.dir("externalAnnotations")) + archiveFileName.set("externalAnnotations.jar") +} + repositories { maven("https://repo.denwav.dev/repository/maven-public/") maven("https://maven.fabricmc.net/") { @@ -302,8 +309,11 @@ register("grammars") { files.from(project.fileTree("src/main/grammars")) } + register("externalAnnotations") { + files.from(project.fileTree("externalAnnotations")) - } -} + } + } +} ktlint { disabledRules.add("filename") @@ -360,6 +370,12 @@ delete(layout.projectDirectory.dir(".sandbox")) } +tasks.withType { + from(externalAnnotationsJar) { + into("Minecraft Development/lib/resources") + } +} + tasks.runIde { maxHeapSize = "4G" Index: src/main/resources/META-INF/plugin.xml =================================================================== --- src/main/resources/META-INF/plugin.xml (revision 31a2af33e1a099b96c260a55bfec8c9da06e55bb) +++ src/main/resources/META-INF/plugin.xml (revision bc1227cde804e6f1958198dd692c17887b06ee98) @@ -80,6 +80,7 @@ + @@ -135,6 +136,11 @@ + + + + + @@ -147,6 +153,8 @@ + + @@ -264,6 +272,8 @@ order="before javaSkipAutopopupInStrings"/> + + @@ -485,14 +495,14 @@ groupName="Minecraft" language="JAVA" enabledByDefault="true" - level="ERROR" + level="WARNING" hasStaticDescription="true" implementationClass="com.demonwav.mcdev.translations.inspections.NoTranslationInspection"/> + + - + + - + + - + + - + + - + + - + + - + + - + + + + + +