Fix weird intellij issues with mixin's annotation processor

- Update forge/mixin version
This commit is contained in:
Jozufozu 2021-12-02 14:03:14 -08:00
parent b11da57834
commit d4a8043534
2 changed files with 8 additions and 2 deletions

View file

@ -103,7 +103,12 @@ dependencies {
//implementation 'org.joml:joml:1.10.1'
annotationProcessor 'org.spongepowered:mixin:0.8.4:processor'
// https://discord.com/channels/313125603924639766/725850371834118214/910619168821354497
// Prevent Mixin annotation processor from getting into IntelliJ's annotation processor settings
// This allows 'Settings > Build, Execution, and Deployment > Build Tools > Gradle > Build and run using' set to IntelliJ to work correctly
if (System.getProperty('idea.sync.active') != 'true') {
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
}
}
// Example for how to get properties into the manifest for reading by the runtime..

View file

@ -5,11 +5,12 @@ org.gradle.daemon = false
mod_version = 0.3.0
mc_update_version = 1.17
minecraft_version = 1.17.1
forge_version = 37.0.117
forge_version = 37.1.0
# build dependency versions
forgegradle_version = 5.1.+
mixingradle_version = 0.7-SNAPSHOT
mixin_version = 0.8.5
librarian_version = 1.+
cursegradle_version = 1.4.0
parchment_version = 2021.10.31