Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NeoForge #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
}
Expand All @@ -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()
Expand Down
5 changes: 3 additions & 2 deletions src/main/kotlin/dev/architectury/idea/util/Platform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ enum class Platform(
val fallbackPlatforms: List<Platform> = 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))
;

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/dev/architectury/idea/util/PlatformIds.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ object PlatformIds {
const val FABRIC = "fabric"
const val FORGE = "forge"
const val QUILT = "quilt"
const val NEOFORGE = "neoforge"
}
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<change-notes><![CDATA[
<ul>
<li>Added support for IDEA 2022.3</li>
<li>Added support for NeoForge</li>
</ul>
]]></change-notes>

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/messages/Architectury.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ fix.missingPlatformPackages = Could not find platform packages: {0}
platform.fabric = Fabric
platform.forge = Forge
platform.quilt = Quilt
platform.neoforge = NeoForge
Loading