File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
refinedarchitect-plugin/src/main/kotlin Expand file tree Collapse file tree 2 files changed +13
-7
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).
77
88## [ Unreleased]
99
10+ ## [ 1.1.0] - 2025-03-29
11+
12+ ### Added
13+
14+ - Added ability to set required dependencies for CurseForge and Modrinth publishing.
15+
1016## [ 1.0.0] - 2025-03-27
1117
1218### Added
@@ -416,7 +422,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
416422- Gradle helpers for Fabric and Forge projects.
417423- CI workflows.
418424
419- [ Unreleased ] : https://github.com/refinedmods/refinedarchitect/compare/v1.0.0...HEAD
425+ [ Unreleased ] : https://github.com/refinedmods/refinedarchitect/compare/v1.1.0...HEAD
426+
427+ [ 1.1.0 ] : https://github.com/refinedmods/refinedarchitect/compare/v1.0.0...v1.1.0
420428
421429[ 1.0.0 ] : https://github.com/refinedmods/refinedarchitect/compare/v0.21.0...v1.0.0
422430
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ import org.sonarqube.gradle.SonarQubePlugin
1717class PublishingOptions {
1818 var maven: Boolean? = false
1919 var curseForge: String? = null
20+ var curseForgeRequiredDependencies: List <String >? = null
2021 var modrinth: String? = null
22+ var modrinthRequiredDependencies: List <String >? = null
2123}
2224
2325open class BaseExtension (private val project : Project ) {
@@ -56,19 +58,15 @@ open class BaseExtension(private val project: Project) {
5658 minecraftVersions.add(mcVersion)
5759 changelogType.set(" markdown" )
5860 projectId.set(it)
59- if (! isNeoForge) {
60- requires(" fabric-api" )
61- }
61+ options.curseForgeRequiredDependencies?.forEach { requires(it) }
6262 }
6363 }
6464 options.modrinth?.let {
6565 modrinth {
6666 accessToken.set(System .getenv(" MODRINTH_TOKEN" ))
6767 projectId.set(it)
6868 minecraftVersions.add(mcVersion)
69- if (! isNeoForge) {
70- requires(" fabric-api" )
71- }
69+ options.modrinthRequiredDependencies?.forEach { requires(it) }
7270 }
7371 }
7472 }
You can’t perform that action at this time.
0 commit comments