Skip to content

Commit 74134e4

Browse files
committed
Move documentation code to a new bukkit submodule in preparation for more modules
1 parent a3b2790 commit 74134e4

File tree

146 files changed

+27
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+27
-22
lines changed
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
22
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33

4-
/*
5-
* This file was generated by the Gradle 'init' task.
6-
*/
7-
84
plugins {
95
`java-library`
106
kotlin("jvm") version "2.1.0"
117
}
128

9+
group = "dev.jorel.commandapi"
10+
version = "1.0-SNAPSHOT"
11+
description = "reference-code-bukkit"
12+
1313
repositories {
1414
mavenLocal()
1515
maven {
@@ -25,7 +25,7 @@ repositories {
2525
}
2626

2727
maven {
28-
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
28+
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
2929
}
3030

3131
maven {
@@ -36,13 +36,15 @@ repositories {
3636
dependencies {
3737
api(libs.net.kyori.adventure.platform.bukkit)
3838
api(libs.dev.jorel.commandapi.bukkit.core)
39-
api(libs.dev.jorel.commandapi.bukkit.kotlin)
39+
api(libs.dev.jorel.commandapi.paper.core)
40+
api(libs.dev.jorel.commandapi.spigot.core)
41+
api(libs.dev.jorel.commandapi.kotlin.bukkit)
4042
api(libs.dev.jorel.commandapi.annotations)
4143
compileOnly(libs.dev.jorel.commandapi.velocity.shade)
4244
api(libs.de.tr7zw.item.nbt.api)
4345
api(libs.org.jetbrains.kotlin.kotlin.stdlib)
4446
testImplementation(libs.org.junit.jupiter.junit.jupiter)
45-
testImplementation(libs.dev.jorel.commandapi.bukkit.test.toolkit)
47+
//testImplementation(libs.dev.jorel.commandapi.bukkit.test.toolkit)
4648
testImplementation(libs.com.github.seeseemelk.mockbukkit.v1.v21)
4749
compileOnly(libs.com.mojang.brigadier)
4850
compileOnly(libs.com.mojang.authlib)
@@ -52,7 +54,6 @@ dependencies {
5254

5355
group = "dev.jorel.commandapi"
5456
version = "1.0-SNAPSHOT"
55-
description = "reference-code"
5657
java.sourceCompatibility = JavaVersion.VERSION_21
5758
java.targetCompatibility = JavaVersion.VERSION_21
5859

@@ -66,4 +67,4 @@ tasks.withType<Javadoc> {
6667

6768
tasks.withType<KotlinCompile> {
6869
compilerOptions.jvmTarget = JvmTarget.JVM_21
69-
}
70+
}

reference-code/src/main/java/annotations/DefaultMethodExample.java renamed to reference-code/bukkit/src/main/java/annotations/DefaultMethodExample.java

File renamed without changes.

reference-code/src/main/java/annotations/Intro.java renamed to reference-code/bukkit/src/main/java/annotations/Intro.java

File renamed without changes.

reference-code/src/main/java/annotations/ParameterExample.java renamed to reference-code/bukkit/src/main/java/annotations/ParameterExample.java

File renamed without changes.

reference-code/src/main/java/annotations/PermissionMethodExample.java renamed to reference-code/bukkit/src/main/java/annotations/PermissionMethodExample.java

File renamed without changes.

reference-code/src/main/java/annotations/Registration.java renamed to reference-code/bukkit/src/main/java/annotations/Registration.java

File renamed without changes.

reference-code/src/main/java/annotations/SubcommandMethodExample.java renamed to reference-code/bukkit/src/main/java/annotations/SubcommandMethodExample.java

File renamed without changes.

reference-code/src/main/java/annotations/WarpCommand.java renamed to reference-code/bukkit/src/main/java/annotations/WarpCommand.java

File renamed without changes.

reference-code/src/main/java/annotations/aliasClassExample/TeleportCommand.java renamed to reference-code/bukkit/src/main/java/annotations/aliasClassExample/TeleportCommand.java

File renamed without changes.

reference-code/src/main/java/annotations/helpClassExample/TeleportCommand.java renamed to reference-code/bukkit/src/main/java/annotations/helpClassExample/TeleportCommand.java

File renamed without changes.

0 commit comments

Comments
 (0)