Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Nov 6, 2023
1 parent c737752 commit 08b19ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

plugins {
id "net.neoforged.gradle.userdev"
id "net.neoforged.gradle.mixin"
id "maven-publish"
id "com.diffplug.spotless"
id "com.github.johnrengelman.shadow"
Expand Down Expand Up @@ -299,7 +298,7 @@ def commonRunProperties = {
// jvmArgs "--add-opens", "java.base/java.util.jar=ALL-UNNAMED"
systemProperties = commonSystemProperties
// property "mixin.debug.export", "true"
modSources = [sourceSets.main]
modSources = [sourceSets.main, project(":libs:markdown").sourceSets.main]
}

////////////////////
Expand All @@ -315,10 +314,6 @@ minecraft {
}
}

mixin {
config "ae2.mixins.json"
}

runs {
client {
with commonRunProperties
Expand Down Expand Up @@ -348,7 +343,7 @@ runs {
with commonRunProperties
}
data {
with commonRunProperties
modSources.add(project(":libs:markdown").getSourceSets().main)
programArguments = [
'--mod', 'ae2',
'--all',
Expand Down
3 changes: 1 addition & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ pluginManagement {
mavenCentral()
}
plugins {
id 'net.neoforged.gradle.userdev' version '7.0.5'
id 'net.neoforged.gradle.mixin' version '7.0.5'
id 'net.neoforged.gradle.userdev' version '7.0.33'
id 'com.diffplug.spotless' version '5.12.4'
id 'io.github.juuxel.loom-quiltflower' version '1.10.0'
id 'com.github.johnrengelman.shadow' version '7.0.0'
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ modId="ae2"
version="0.0.0"
displayName="Applied Energistics 2"
description="A Mod about Matter, Energy and using them to conquer the world.."
mixin="ae2.mixins.json"

[[dependencies.ae2]]
modId="neoforge"
Expand Down

0 comments on commit 08b19ab

Please sign in to comment.