Skip to content

Commit a5a0074

Browse files
committed
fix: declare fabric apis and common project as api
1 parent b842aeb commit a5a0074

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Declare Fabric APIs and common project as API instead of implementation.
13+
1014
## [0.13.2] - 2024-06-09
1115

1216
### Fixed

helper.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,14 @@ allprojects {
255255
modImplementation "net.fabricmc:fabric-loader:${fabricLoaderVersion}"
256256
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabricApiVersion}"
257257
apis.collect {
258-
implementation project(it)
258+
api project(it)
259259
include project(it)
260260
}
261261
compileApis.collect {
262-
implementation project(it)
262+
api project(it)
263263
}
264264
if (commonProject != null) {
265-
implementation commonProject
265+
modApi commonProject
266266
}
267267
}
268268
processResources {

0 commit comments

Comments
 (0)