Skip to content

Commit c232fa2

Browse files
committed
Don't expose serverversion as a common transistive dependency
1 parent 85a1f74 commit c232fa2

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

bukkit/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ dependencies {
22
implementation project(":common")
33
testImplementation project(":common").sourceSets.test.output
44

5+
// 3.0.1: serverversion is not transistive from common
6+
implementation project(":common:serverversion")
7+
58
compileOnly "com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT"
69

710
// Fun fact: paper/spigot/etc doesn't include netty! (as it's from NMS)

common/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ plugins {
77
}
88

99
dependencies {
10-
// Depend on serverversion proj
11-
api project(":common:serverversion") // expose serverversion when implementing :common
12-
testImplementation project(":common:serverversion").sourceSets.test.output
13-
1410
// Depend on the config project
1511
api project(":config") // expose config when implementing :common
1612
testImplementation project(":config").sourceSets.test.output

0 commit comments

Comments
 (0)