Skip to content

Commit

Permalink
refactor: prefix name with neo
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Jul 5, 2024
1 parent ee0a07b commit e9766b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Renamed `forgeProject` to `neoForgeProject`.

## [0.15.0] - 2024-07-05

### Changed
Expand Down
8 changes: 4 additions & 4 deletions helper.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ allprojects {
minecraftVersion = "1.21"
// See: https://projects.neoforged.net/neoforged/neoform
neoFormVersion = "1.21-20240613.152323"
forgeVersion = "21.0.42-beta"
neoForgeVersion = "21.0.42-beta"
fabricLoaderVersion = "0.15.11"
fabricApiVersion = "0.100.4+1.21"
}
Expand Down Expand Up @@ -180,11 +180,11 @@ allprojects {
}
}

ext.forgeProject = { String modId, Project commonProject = null, ArrayList apis = [], ArrayList compileApis = [] ->
ext.neoForgeProject = { String modId, Project commonProject = null, ArrayList apis = [], ArrayList compileApis = [] ->
apply plugin : net.neoforged.moddevgradle.boot.ModDevPlugin

neoForge {
version = forgeVersion
version = neoForgeVersion
// The test source set does not inherit any "local" dependencies of main
// this ensures Minecraft classes are available to it.
addModdingDependenciesTo(project.sourceSets.test)
Expand Down Expand Up @@ -226,7 +226,7 @@ allprojects {
}
}
dependencies {
testImplementation "net.neoforged:testframework:${forgeVersion}"
testImplementation "net.neoforged:testframework:${neoForgeVersion}"
apis.collect {
compileOnly project(it)
testCompileOnly project(it)
Expand Down

0 comments on commit e9766b2

Please sign in to comment.