add dependency on cloud

This commit is contained in:
dfsek
2021-12-19 14:22:35 -07:00
parent 30f7f002d5
commit fb1ebd0e11
3 changed files with 12 additions and 0 deletions

View File

@@ -7,5 +7,7 @@ dependencies {
shadedApi("net.jafama:jafama:2.3.2")
shadedApi("org.slf4j:slf4j-api:1.7.32")
shadedApi("cloud.commandframework", "cloud-core", "1.6.1")
}

View File

@@ -29,6 +29,8 @@ dependencies {
shadedImplementation("io.papermc:paperlib:1.0.5")
shadedApi("com.google.guava:guava:30.0-jre")
shadedApi("cloud.commandframework", "cloud-paper", "1.6.1")
}
val jvmFlags = listOf(

View File

@@ -29,6 +29,14 @@ dependencies {
}
mappings("net.fabricmc:yarn:$minecraft+build.$yarn:v2")
modImplementation("net.fabricmc:fabric-loader:$fabricLoader")
setOf("fabric-command-api-v1", "fabric-lifecycle-events-v1").forEach { apiModule ->
modImplementation(fabricApi.module(apiModule, "0.44.0+1.18"))?.let { include(it) }
}
modImplementation("me.lucko:fabric-permissions-api:0.1-SNAPSHOT")?.let { include(it) }
modImplementation("cloud.commandframework:cloud-fabric:1.6.1")?.let { include(it) }
}
loom {