build and publishing updates
This commit is contained in:
parent
a8932bc307
commit
eae247954f
27 changed files with 314 additions and 100 deletions
|
|
@ -1,6 +1,10 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(projects.cloudCore)
|
||||
/* Needs to be provided by the platform */
|
||||
compileOnly("com.mojang", "brigadier", Versions.brigadier)
|
||||
testImplementation("com.mojang", "brigadier", Versions.brigadier)
|
||||
compileOnly(libs.brigadier)
|
||||
testImplementation(libs.brigadier)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
api(projects.cloudBrigadier)
|
||||
api(projects.cloudTasks)
|
||||
compileOnly("org.bukkit", "bukkit", Versions.bukkit)
|
||||
compileOnly("me.lucko", "commodore", Versions.commodore)
|
||||
compileOnly("org.jetbrains", "annotations", Versions.jetbrainsAnnotations)
|
||||
compileOnly("com.google.guava", "guava", Versions.guava)
|
||||
compileOnly(libs.bukkit)
|
||||
compileOnly(libs.commodore)
|
||||
compileOnly(libs.jetbrainsAnnotations)
|
||||
compileOnly(libs.guava)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
compileOnly("net.md-5", "bungeecord-api", Versions.bungeecord)
|
||||
compileOnly(libs.bungeecord)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
compileOnly("org.cloudburstmc", "cloudburst-server", Versions.cloudburst)
|
||||
compileOnly(libs.cloudburst)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import net.fabricmc.loom.task.AbstractRunTask
|
|||
import net.ltgt.gradle.errorprone.errorprone
|
||||
|
||||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("quiet-fabric-loom") version "0.11-SNAPSHOT"
|
||||
}
|
||||
|
||||
|
|
@ -40,19 +41,21 @@ tasks {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
minecraft("com.mojang", "minecraft", Versions.fabricMc)
|
||||
minecraft(libs.fabricMinecraft)
|
||||
mappings(loom.officialMojangMappings())
|
||||
modImplementation("net.fabricmc", "fabric-loader", Versions.fabricLoader)
|
||||
modImplementation(fabricApi.module("fabric-command-api-v1", Versions.fabricApi))
|
||||
modImplementation(fabricApi.module("fabric-lifecycle-events-v1", Versions.fabricApi))
|
||||
modImplementation(libs.fabricLoader)
|
||||
modImplementation(fabricApi.module("fabric-command-api-v1", libs.versions.fabricApi.get()))
|
||||
modImplementation(fabricApi.module("fabric-lifecycle-events-v1", libs.versions.fabricApi.get()))
|
||||
|
||||
modApi(include("me.lucko", "fabric-permissions-api", "0.1-SNAPSHOT"))
|
||||
modImplementation(libs.fabricPermissionsApi)
|
||||
include(libs.fabricPermissionsApi)
|
||||
|
||||
api(include(projects.cloudCore)!!)
|
||||
api(include(projects.cloudBrigadier)!!)
|
||||
api(include(projects.cloudServices)!!)
|
||||
|
||||
api(include("io.leangen.geantyref", "geantyref", Versions.geantyref))
|
||||
api(libs.geantyref)
|
||||
include(libs.geantyref)
|
||||
}
|
||||
|
||||
/* set up a testmod source set */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
api("net.kyori", "adventure-api", Versions.adventureApi)
|
||||
api("net.kyori", "adventure-text-serializer-plain", Versions.adventureApi)
|
||||
api(libs.adventureApi)
|
||||
api(libs.adventureTextSerializerPlain)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudBukkit)
|
||||
compileOnly("com.destroystokyo.paper", "paper-api", Versions.paperApi)
|
||||
compileOnly("com.destroystokyo.paper", "paper-mojangapi", Versions.paperApi)
|
||||
compileOnly("org.jetbrains", "annotations", Versions.jetbrainsAnnotations)
|
||||
compileOnly("com.google.guava", "guava", Versions.guava)
|
||||
compileOnly(libs.paperApi)
|
||||
compileOnly(libs.paperMojangApi)
|
||||
compileOnly(libs.jetbrainsAnnotations)
|
||||
compileOnly(libs.guava)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
compileOnly("org.spongepowered", "spongeapi", Versions.spongeApi7)
|
||||
compileOnly(libs.spongeApi7)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
}
|
||||
|
||||
java {
|
||||
disableAutoTargetJvm()
|
||||
}
|
||||
|
|
@ -5,5 +9,5 @@ java {
|
|||
dependencies {
|
||||
api(projects.cloudCore)
|
||||
api(projects.cloudBrigadier)
|
||||
compileOnly("com.velocitypowered", "velocity-api", Versions.velocityApi)
|
||||
compileOnly(libs.velocityApi)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue