diff --git a/build.gradle.kts b/build.gradle.kts index 0c60816..aad9876 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { - id("org.jetbrains.intellij") version "1.10.0" + id("org.jetbrains.intellij") version "1.16.0" kotlin("jvm") version "1.7.21" id("org.jmailen.kotlinter") version "3.12.0" } @@ -11,7 +11,7 @@ val kotlinVersion = "1.6.10" val kotlinLanguageVersion = kotlinVersion.substringBeforeLast('.') group = "dev.architectury" -version = "1.6.3" +version = "1.6.4" repositories { mavenCentral() diff --git a/src/main/kotlin/dev/architectury/idea/util/Platform.kt b/src/main/kotlin/dev/architectury/idea/util/Platform.kt index abc0a8e..d48dcbe 100644 --- a/src/main/kotlin/dev/architectury/idea/util/Platform.kt +++ b/src/main/kotlin/dev/architectury/idea/util/Platform.kt @@ -20,8 +20,9 @@ enum class Platform( val fallbackPlatforms: List = emptyList() ) { FABRIC(PlatformIds.FABRIC, "platform.fabric", "net.fabricmc.api"), - FORGE(PlatformIds.FORGE, "platform.forge", "net.minecraftforge.common") - // QUILT(PlatformIds.QUILT, "platform.quilt", "org.quiltmc", listOf(FABRIC)), + FORGE(PlatformIds.FORGE, "platform.forge", "net.minecraftforge.common"), + NEOFORGE(PlatformIds.NEOFORGE, "platform.neoforge", "net.neoforged.neoforge") + // QUILT(PlatformIds.QUILT, "platform.quilt", "org.quiltmc", listOf(FABRIC)) ; /** diff --git a/src/main/kotlin/dev/architectury/idea/util/PlatformIds.kt b/src/main/kotlin/dev/architectury/idea/util/PlatformIds.kt index 0378dd1..227d832 100644 --- a/src/main/kotlin/dev/architectury/idea/util/PlatformIds.kt +++ b/src/main/kotlin/dev/architectury/idea/util/PlatformIds.kt @@ -8,4 +8,5 @@ object PlatformIds { const val FABRIC = "fabric" const val FORGE = "forge" const val QUILT = "quilt" + const val NEOFORGE = "neoforge" } diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index a55893a..214d745 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -9,7 +9,7 @@ -
  • Added support for IDEA 2022.3
  • +
  • Added support for NeoForge
  • ]]>
    diff --git a/src/main/resources/messages/Architectury.properties b/src/main/resources/messages/Architectury.properties index a4aea28..6bb8c14 100644 --- a/src/main/resources/messages/Architectury.properties +++ b/src/main/resources/messages/Architectury.properties @@ -17,3 +17,4 @@ fix.missingPlatformPackages = Could not find platform packages: {0} platform.fabric = Fabric platform.forge = Forge platform.quilt = Quilt +platform.neoforge = NeoForge