Skip to content

Commit d1bfc3c

Browse files
authored
Merge pull request #197 from refinedmods/release/1.1.0
Release v1.1.0
2 parents 26f105c + bb53826 commit d1bfc3c

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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

refinedarchitect-plugin/src/main/kotlin/BaseExtension.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ import org.sonarqube.gradle.SonarQubePlugin
1717
class 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

2325
open 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
}

0 commit comments

Comments
 (0)