-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix run configs and update dev setup instructions
- Loading branch information
Showing
11 changed files
with
132 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ Thumbs.db | |
/build/ | ||
/*/build/ | ||
/run/ | ||
/*/run/ | ||
/projectFilesBackup/ | ||
#IDEA files from Gradle | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ jei_version=10.2.1.+ | |
cct_version=1.101.2 | ||
|
||
fabrication_version=0.1.0-alpha-15 | ||
|
||
org.gradle.jvmargs=-Xmx4096M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* Used only for generating run configs that include all ProjectRed modules in the classpath. | ||
*/ | ||
plugins { | ||
id 'net.minecraftforge.gradle' | ||
id 'org.spongepowered.mixin' | ||
} | ||
|
||
minecraft { | ||
mappings channel: mcp_mappings, version: mc_version | ||
accessTransformer = file("../core/src/main/resources/META-INF/accesstransformer.cfg") | ||
|
||
runs { | ||
configureEach { | ||
ideaModule "${rootProject.name}.${project.name}.main" | ||
|
||
mods { | ||
'projectred_core' { source project(":core").sourceSets.main } | ||
'projectred_expansion' { source project(":expansion").sourceSets.main } | ||
'projectred_exploration' { source project(":exploration").sourceSets.main } | ||
'projectred_illumination' { source project(":illumination").sourceSets.main } | ||
'projectred_integration' { source project(":integration").sourceSets.main } | ||
'projectred_transmission' { source project(":transmission").sourceSets.main } | ||
} | ||
} | ||
|
||
client { | ||
workingDirectory file('run') | ||
} | ||
|
||
server { | ||
workingDirectory file('run_server') | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
minecraft "net.minecraftforge:forge:${mc_version}-${forge_version}" | ||
|
||
runtimeOnly project(":core") | ||
runtimeOnly project(":expansion") | ||
runtimeOnly project(":exploration") | ||
runtimeOnly project(":illumination") | ||
runtimeOnly project(":integration") | ||
runtimeOnly project(":transmission") | ||
} | ||
|
||
mixin { | ||
debug.verbose = true | ||
debug.export = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters