Skip to content

Commit ca32bbf

Browse files
committed
fix japi dependency
1 parent 9d2764d commit ca32bbf

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ subprojects {
4444
api parent.project("$prefix:api")
4545

4646
if (project.name != 'japi') {
47-
if (findProject("$prefix:japi") != null)
48-
api project("$prefix:japi")
49-
else api 'org.comroid:japi:+'
47+
api project(":japi")
5048

5149
// soft dependencies
5250
compileOnly 'net.luckperms:api:5.4'

fabric/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ dependencies {
8787
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
8888

8989
// banMod
90-
if (findProject("$prefix:japi") != null)
91-
include project("$prefix:japi")
92-
else include 'org.comroid:japi:+'
90+
include project(":japi")
9391
include project("$prefix:api")
9492
implementation project("$prefix:core")
9593
include project("$prefix:core")

0 commit comments

Comments
 (0)