Skip to content

Commit

Permalink
Merge pull request #167 from refinedmods/release/0.16.8
Browse files Browse the repository at this point in the history
Release v0.16.8
  • Loading branch information
raoulvdberge authored Jul 23, 2024
2 parents 7a3d740 + 7e15ebe commit d5550c9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.16.8] - 2024-07-23

### Fixed

- Declaring `neoForge()` without a `modId` set will not create a mod or run configs. Can be used for a NeoForge library module.

## [0.16.7] - 2024-07-20

### Fixed
Expand Down Expand Up @@ -339,7 +345,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Gradle helpers for Fabric and Forge projects.
- CI workflows.

[Unreleased]: https://github.com/refinedmods/refinedarchitect/compare/v0.16.7...HEAD
[Unreleased]: https://github.com/refinedmods/refinedarchitect/compare/v0.16.8...HEAD

[0.16.8]: https://github.com/refinedmods/refinedarchitect/compare/v0.16.7...v0.16.8

[0.16.7]: https://github.com/refinedmods/refinedarchitect/compare/v0.16.6...v0.16.7

Expand Down
24 changes: 13 additions & 11 deletions refinedarchitect-plugin/src/main/kotlin/NeoForgeExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ open class NeoForgeExtension(private val project: Project) : BaseExtension(proje
project.extensions.getByType<NfExtension>().apply {
version.set(neoForgeVersion)
addModdingDependenciesTo(sourceSets["test"])
mods {
register(modId!!) {
modSourceSets.set(listOf(sourceSets["main"], sourceSets["test"]))
}
}
runs {
register("client") {
client()
if (modId != null) {
mods {
register(modId!!) {
modSourceSets.set(listOf(sourceSets["main"], sourceSets["test"]))
}
}
register("server") {
server()
programArgument("--nogui")
runs {
register("client") {
client()
}
register("server") {
server()
programArgument("--nogui")
}
}
}
parchment {
Expand Down

0 comments on commit d5550c9

Please sign in to comment.