mirror of
https://github.com/RoBaertschi/EnvironmentTech.git
synced 2025-04-19 23:03:28 +00:00
add emi comments and update to NeoGradle 151, no more parchment 'p's
This commit is contained in:
parent
a22b1da189
commit
3899edad0b
@ -6,7 +6,7 @@ plugins {
|
||||
idea
|
||||
`maven-publish`
|
||||
id("io.freefair.lombok") version "8.6"
|
||||
id ("net.neoforged.gradle.userdev") version ("7.0.150")
|
||||
id ("net.neoforged.gradle.userdev") version ("7.0.151")
|
||||
}
|
||||
|
||||
val minecraftVersion: String by project
|
||||
@ -29,6 +29,7 @@ val topVersion: String by project
|
||||
val reiVersion: String by project
|
||||
val jeiVersion: String by project
|
||||
val jeiMcVersion: String by project
|
||||
val emiVersion: String by project
|
||||
|
||||
val withTop = true
|
||||
|
||||
@ -53,6 +54,10 @@ repositories {
|
||||
url = URI.create("https://maven.architectury.dev/")
|
||||
name = "Architectury"
|
||||
}
|
||||
maven {
|
||||
url = URI.create("https://maven.terraformersmc.com/")
|
||||
name = "TerraformersMC"
|
||||
}
|
||||
}
|
||||
|
||||
base {
|
||||
@ -132,6 +137,9 @@ runs {
|
||||
programArgument ("--nogui")
|
||||
}
|
||||
|
||||
// This run config launches GameTestServer and runs all registered gametests, then exits.
|
||||
// By default, the server will crash when no gametests are provided.
|
||||
// The gametest system is also enabled by default for other run configs under the /test command.
|
||||
create("gameTestServer") {
|
||||
systemProperty ("forge.enabledGameTestNamespaces", modId)
|
||||
|
||||
@ -139,6 +147,10 @@ runs {
|
||||
|
||||
|
||||
create("data") {
|
||||
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
|
||||
// workingDirectory project.file("run-data")
|
||||
|
||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
||||
programArguments.addAll ("--mod", modId, "--all", "--output", file("src/generated/resources/").absolutePath, "--existing", file("src/main/resources/").absolutePath)
|
||||
}
|
||||
|
||||
@ -150,6 +162,8 @@ dependencies {
|
||||
compileOnly("mcjty.theoneprobe:theoneprobe:${topVersion}")
|
||||
if (withTop)
|
||||
runtimeOnly("mcjty.theoneprobe:theoneprobe:${topVersion}")
|
||||
// compileOnly("dev.emi:emi-neoforge:${emiVersion}:api")
|
||||
// runtimeOnly("dev.emi:emi-neoforge:${emiVersion}")
|
||||
// runtimeOnly("me.shedaniel:RoughlyEnoughItems-neoforge:${reiVersion}")
|
||||
// compileOnly("me.shedaniel:RoughlyEnoughItems-api-neoforge:${reiVersion}")
|
||||
// compileOnly("me.shedaniel:RoughlyEnoughItems-default-plugin-neoforge:${reiVersion}")
|
||||
|
@ -47,4 +47,5 @@ assertjVersion=3.25.1
|
||||
topVersion=1.21_neo-12.0.0-1
|
||||
reiVersion=16.0.729
|
||||
jeiVersion=19.0.0.11
|
||||
jeiMcVersion=1.21
|
||||
jeiMcVersion=1.21
|
||||
emiVersion=1.1.7+1.21
|
Loading…
x
Reference in New Issue
Block a user