File tree 2 files changed +22
-12
lines changed
refinedarchitect-plugin/src/main/kotlin
2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ 0.16.8] - 2024-07-23
11
+
12
+ ### Fixed
13
+
14
+ - Declaring ` neoForge() ` without a ` modId ` set will not create a mod or run configs. Can be used for a NeoForge library module.
15
+
10
16
## [ 0.16.7] - 2024-07-20
11
17
12
18
### Fixed
@@ -339,7 +345,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
339
345
- Gradle helpers for Fabric and Forge projects.
340
346
- CI workflows.
341
347
342
- [ Unreleased ] : https://github.com/refinedmods/refinedarchitect/compare/v0.16.7...HEAD
348
+ [ Unreleased ] : https://github.com/refinedmods/refinedarchitect/compare/v0.16.8...HEAD
349
+
350
+ [ 0.16.8 ] : https://github.com/refinedmods/refinedarchitect/compare/v0.16.7...v0.16.8
343
351
344
352
[ 0.16.7 ] : https://github.com/refinedmods/refinedarchitect/compare/v0.16.6...v0.16.7
345
353
Original file line number Diff line number Diff line change @@ -15,18 +15,20 @@ open class NeoForgeExtension(private val project: Project) : BaseExtension(proje
15
15
project.extensions.getByType<NfExtension >().apply {
16
16
version.set(neoForgeVersion)
17
17
addModdingDependenciesTo(sourceSets[" test" ])
18
- mods {
19
- register(modId!! ) {
20
- modSourceSets.set(listOf (sourceSets[" main" ], sourceSets[" test" ]))
21
- }
22
- }
23
- runs {
24
- register(" client" ) {
25
- client()
18
+ if (modId != null ) {
19
+ mods {
20
+ register(modId!! ) {
21
+ modSourceSets.set(listOf (sourceSets[" main" ], sourceSets[" test" ]))
22
+ }
26
23
}
27
- register(" server" ) {
28
- server()
29
- programArgument(" --nogui" )
24
+ runs {
25
+ register(" client" ) {
26
+ client()
27
+ }
28
+ register(" server" ) {
29
+ server()
30
+ programArgument(" --nogui" )
31
+ }
30
32
}
31
33
}
32
34
parchment {
You can’t perform that action at this time.
0 commit comments