fancynpcs: Rename the api module to fn-api

This commit is contained in:
Oliver
2025-05-17 10:30:14 +02:00
parent 8136662ca6
commit 36f666881a
52 changed files with 16 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ jobs:
java -jar deployment.jar ../../../../plugins/fancynpcs/release_deployment_config.json java -jar deployment.jar ../../../../plugins/fancynpcs/release_deployment_config.json
- name: Publish to reposilite (releases) - name: Publish to reposilite (releases)
run: ./gradlew :plugins:fancynpcs:api:publishAllPublicationsToFancyinnovationsReleasesRepository run: ./gradlew :plugins:fancynpcs:fn-api:publishAllPublicationsToFancyinnovationsReleasesRepository
- name: Publish to reposilite (snapshots) - name: Publish to reposilite (snapshots)
run: ./gradlew :plugins:fancynpcs:api:publishAllPublicationsToFancyinnovationsSnapshotsRepository run: ./gradlew :plugins:fancynpcs:fn-api:publishAllPublicationsToFancyinnovationsSnapshotsRepository

View File

@@ -42,4 +42,4 @@ jobs:
java -jar deployment.jar ../../../../plugins/fancynpcs/snapshot_deployment_config.json java -jar deployment.jar ../../../../plugins/fancynpcs/snapshot_deployment_config.json
- name: Publish to reposilite (snapshots) - name: Publish to reposilite (snapshots)
run: ./gradlew :plugins:fancynpcs:api:publishAllPublicationsToFancyinnovationsSnapshotsRepository run: ./gradlew :plugins:fancynpcs:fn-api:publishAllPublicationsToFancyinnovationsSnapshotsRepository

View File

@@ -49,7 +49,7 @@ allprojects {
dependencies { dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT") compileOnly("io.papermc.paper:paper-api:1.21.5-R0.1-SNAPSHOT")
implementation(project(":plugins:fancynpcs:api")) implementation(project(":plugins:fancynpcs:fn-api"))
implementation(project(":plugins:fancynpcs:implementation_1_21_5")) implementation(project(":plugins:fancynpcs:implementation_1_21_5"))
implementation(project(":plugins:fancynpcs:implementation_1_21_4")) implementation(project(":plugins:fancynpcs:implementation_1_21_4"))
implementation(project(":plugins:fancynpcs:implementation_1_21_3")) implementation(project(":plugins:fancynpcs:implementation_1_21_3"))
@@ -124,7 +124,7 @@ tasks {
relocate("org.lushplugins.chatcolorhandler", "de.oliver.fancynpcs.libs.chatcolorhandler") relocate("org.lushplugins.chatcolorhandler", "de.oliver.fancynpcs.libs.chatcolorhandler")
archiveClassifier.set("") archiveClassifier.set("")
archiveBaseName.set("FancyNpcs") archiveBaseName.set("FancyNpcs")
dependsOn(":plugins:fancynpcs:api:shadowJar") dependsOn(":plugins:fancynpcs:fn-api:shadowJar")
} }
publishing { publishing {

View File

@@ -8,7 +8,7 @@ val minecraftVersion = "1.19.4"
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -8,7 +8,7 @@ val minecraftVersion = "1.20"
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -8,7 +8,7 @@ val minecraftVersion = "1.20.1"
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -8,7 +8,7 @@ val minecraftVersion = "1.20.2"
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -8,7 +8,7 @@ val minecraftVersion = "1.20.4"
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -10,7 +10,7 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -10,7 +10,7 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -10,7 +10,7 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -10,7 +10,7 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt
dependencies { dependencies {
paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT") paperweight.paperDevBundle("$minecraftVersion-R0.1-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -8,7 +8,7 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt
dependencies { dependencies {
paperweight.paperDevBundle("1.21.5-no-moonrise-SNAPSHOT") paperweight.paperDevBundle("1.21.5-no-moonrise-SNAPSHOT")
compileOnly(project(":plugins:fancynpcs:api")) compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common")) compileOnly(project(":libraries:common"))
compileOnly("org.lushplugins:ChatColorHandler:5.1.3") compileOnly("org.lushplugins:ChatColorHandler:5.1.3")
} }

View File

@@ -1,7 +1,7 @@
rootProject.name = "minecraft-plugins" rootProject.name = "minecraft-plugins"
include(":plugins:fancynpcs:") include(":plugins:fancynpcs:")
include(":plugins:fancynpcs:api") include(":plugins:fancynpcs:fn-api")
include(":plugins:fancynpcs:implementation_1_21_5") include(":plugins:fancynpcs:implementation_1_21_5")
include(":plugins:fancynpcs:implementation_1_21_4") include(":plugins:fancynpcs:implementation_1_21_4")
include(":plugins:fancynpcs:implementation_1_21_3") include(":plugins:fancynpcs:implementation_1_21_3")