Skip to content

Commit

Permalink
Change command module dependence of the support module to optional
Browse files Browse the repository at this point in the history
- Add graph generator
  • Loading branch information
vjh0107 committed Jan 22, 2024
1 parent d9326fa commit c852c6f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "build-logic"
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.plugin.spring) apply false
alias(libs.plugins.spring.boot) apply false
alias(libs.plugins.graph.generator)
}

subprojects {
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ kotlinx.serialization.version=1.5.1
jackson.version=2.15.3

# Reactor
reactor.version=3.5.11
reactor.version=3.5.11
# Graph generator
graph.generator.version=0.7.0
Binary file added project-dependency-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencyResolutionManagement {
plugin("kotlin-jvm", "org.jetbrains.kotlin.jvm").version(extra["kotlin.version"].toString())
plugin("kotlin-plugin-spring", "org.jetbrains.kotlin.plugin.spring").version(extra["kotlin.version"].toString())
plugin("spring-boot", "org.springframework.boot").version(extra["spring.boot.version"].toString())
plugin("graph-generator", "com.vanniktech.dependency.graph.generator").version(extra["graph.generator.version"].toString())

library("spigot", "org.spigotmc:spigot-api:${extra["spigot.version"]}")
library("paper", "io.papermc.paper:paper-api:${extra["spigot.version"]}")
Expand Down
2 changes: 1 addition & 1 deletion spring-bukkit-support/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
compileOnly(libs.paper)

api(projects.core)
api(projects.command)
implementation(projects.command)

testImplementation(libs.spigot)
testImplementation(libs.spring.test)
Expand Down

0 comments on commit c852c6f

Please sign in to comment.