Skip to content

Commit e9dfa20

Browse files
committed
Add empty Paper/Spigot/Velocity modules
1 parent 4e432e9 commit e9dfa20

File tree

7 files changed

+59
-9
lines changed

7 files changed

+59
-9
lines changed

reference-code/buildSrc/src/main/kotlin/common.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,13 @@ repositories {
4343
}
4444

4545
dependencies {
46-
api("dev.jorel:commandapi-bukkit-core:$commandApiVersion")
47-
api("dev.jorel:commandapi-paper-core:$commandApiVersion")
48-
api("dev.jorel:commandapi-spigot-core:$commandApiVersion")
49-
api("dev.jorel:commandapi-kotlin-bukkit:$commandApiVersion")
5046
api("dev.jorel:commandapi-annotations:$commandApiVersion")
51-
compileOnly("dev.jorel:commandapi-velocity-shade:$commandApiVersion")
5247
api("de.tr7zw:item-nbt-api:$nbtApiVersion")
5348
api("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
5449
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
55-
//testImplementation(libs.dev.jorel.commandapi.bukkit.test.toolkit)
5650
testImplementation("com.github.seeseemelk:MockBukkit-v1.21:$mockBukkitVersion")
5751
compileOnly("com.mojang:brigadier:$brigadierVersion")
5852
compileOnly("com.mojang:authlib:$authlibVersion")
59-
compileOnly("io.papermc.paper:paper-api:$paperVersion")
60-
compileOnly("com.velocitypowered:velocity-api:$velocityVersion")
6153
}
6254

6355
tasks.withType<JavaCompile> {

reference-code/bukkit/build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ plugins {
44

55
group = "dev.jorel.commandapi"
66
version = "1.0-SNAPSHOT"
7-
description = "reference-code-bukkit"
7+
description = "reference-code-bukkit"
8+
9+
val commandApiVersion: String by project
10+
val paperVersion: String by project
11+
12+
dependencies {
13+
compileOnly("dev.jorel:commandapi-bukkit-core:$commandApiVersion")
14+
compileOnly("dev.jorel:commandapi-kotlin-bukkit:$commandApiVersion")
15+
compileOnly("io.papermc.paper:paper-api:$paperVersion")
16+
}

reference-code/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
commandApiVersion=11.0.0-SNAPSHOT
22
paperVersion=1.20.6-R0.1-SNAPSHOT
3+
spigotVersion=1.20-R0.1-SNAPSHOT
34
velocityVersion=3.4.0-SNAPSHOT
45
brigadierVersion=1.0.17
56
authlibVersion=3.3.39
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
common
3+
}
4+
5+
group = "dev.jorel.commandapi"
6+
version = "1.0-SNAPSHOT"
7+
description = "reference-code-paper"
8+
9+
val commandApiVersion: String by project
10+
val paperVersion: String by project
11+
12+
dependencies {
13+
compileOnly("dev.jorel:commandapi-paper-core:$commandApiVersion")
14+
compileOnly("io.papermc.paper:paper-api:$paperVersion")
15+
}

reference-code/settings.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44

55
rootProject.name = "reference-code"
66
include("bukkit")
7+
include("paper")
8+
include("spigot")
9+
include("velocity")
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
common
3+
}
4+
5+
group = "dev.jorel.commandapi"
6+
version = "1.0-SNAPSHOT"
7+
description = "reference-code-spigot"
8+
9+
val commandApiVersion: String by project
10+
val spigotVersion: String by project
11+
12+
dependencies {
13+
compileOnly("dev.jorel:commandapi-spigot-core:$commandApiVersion")
14+
compileOnly("org.spigotmc:spigot-api:$spigotVersion")
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
common
3+
}
4+
5+
group = "dev.jorel.commandapi"
6+
version = "1.0-SNAPSHOT"
7+
description = "reference-code-velocity"
8+
9+
val commandApiVersion: String by project
10+
val velocityVersion: String by project
11+
12+
dependencies {
13+
compileOnly("dev.jorel:commandapi-velocity-core:$commandApiVersion")
14+
compileOnly("com.velocitypowered:velocity-api:$velocityVersion")
15+
}

0 commit comments

Comments
 (0)