Skip to content

Commit

Permalink
Rename modules
Browse files Browse the repository at this point in the history
Prefix all modules with necrify and assimilate plugin modules with each platform name
  • Loading branch information
JvstvsHD committed Jul 21, 2024
1 parent b592420 commit 94a60fc
Show file tree
Hide file tree
Showing 92 changed files with 10 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group = "de.jvstvshd.necrify"
version = rootProject.version

dependencies {
api(projects.api)
api(projects.necrifyApi)
api(libs.bundles.jackson)
api(libs.bundles.database) {
exclude(group = "org.slf4j", module = "slf4j-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ version = rootProject.version

dependencies {
compileOnly(libs.paper.api)
api(projects.pluginCommon)
api(projects.necrifyCommon)
}

tasks {
shadowJar {
archiveFileName.set("${rootProject.name}-Paper-${project.version}.jar")
dependencies {
include(project(":plugin-common"))
include(project(":api"))
include(project(":necrify-common"))
include(project(":necrify-api"))
}
}
build {
Expand All @@ -32,7 +32,7 @@ tasks {
val field = librariesRootComponent.get()::class.java.getDeclaredField("dependencies")
field.isAccessible = true
val set = field.get(librariesRootComponent.get()) as LinkedHashSet<DependencyResult>
val configuration = project(":plugin-common").configurations.getByName("runtimeClasspath")
val configuration = project(":necrify-common").configurations.getByName("runtimeClasspath")
val resolutionResult = configuration.incoming.resolutionResult
set.clear()
set.addAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
}

dependencies {
api(projects.pluginCommon)
api(projects.necrifyCommon)
annotationProcessor(libs.velocity.api)
compileOnly(libs.velocity.api)
compileOnly(libs.luckperms.api)
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.name = "necrify"
include("api")
include("plugin")
include("paper-extension")
include("plugin-common")
include("necrify-api")
include("necrify-common")
include("necrify-paper")
include("necrify-velocity")

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

0 comments on commit 94a60fc

Please sign in to comment.