consolidate internals into implementation module, remove old modules
This commit is contained in:
1 parent
7e3d7d7918
commit
232ed9be84
49 files changed
+8
-104
No files matched your search
@@ -1,8 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
api(project(":scoreboard-library-api"))
|
|
||||||
compileOnly(libs.spigotApi)
|
|
||||||
}
|
|
||||||
@@ -1,12 +1,17 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
id("net.megavex.scoreboardlibrary.base-conventions")
|
||||||
|
//id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
maven("https://repo.viaversion.com")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":scoreboard-library-api"))
|
api(project(":scoreboard-library-api"))
|
||||||
implementation(project(":scoreboard-library-packet-adapter-base"))
|
|
||||||
compileOnly(libs.spigotApi)
|
compileOnly(libs.spigotApi)
|
||||||
|
|
||||||
implementation(project(":scoreboard-library-modern"))
|
compileOnly("com.viaversion:viaversion-api:5.7.1")
|
||||||
implementation(project(":scoreboard-library-legacy"))
|
compileOnly("io.netty:netty-buffer:4.2.10.Final")
|
||||||
|
compileOnly("io.netty:netty-handler:4.2.10.Final")
|
||||||
}
|
}
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,27 +1,10 @@
|
|||||||
rootProject.name = "scoreboard-library"
|
rootProject.name = "scoreboard-library"
|
||||||
|
|
||||||
include(":api")
|
include(":api")
|
||||||
include(":commons")
|
|
||||||
include(":implementation")
|
include(":implementation")
|
||||||
include(":extra-kotlin")
|
include(":extra-kotlin")
|
||||||
include(":test-plugin")
|
include(":test-plugin")
|
||||||
|
|
||||||
include(":packet-adapter-base")
|
|
||||||
project(":packet-adapter-base").projectDir = file("versions/packet-adapter-base")
|
|
||||||
|
|
||||||
include(":packetevents")
|
|
||||||
project(":packetevents").projectDir = file("versions/packetevents")
|
|
||||||
|
|
||||||
include(":modern")
|
|
||||||
project(":modern").projectDir = file("versions/modern")
|
|
||||||
|
|
||||||
include(":legacy")
|
|
||||||
project(":legacy").projectDir = file("versions/legacy")
|
|
||||||
|
|
||||||
// For backwards compatibility
|
|
||||||
include(":v1_8_R3")
|
|
||||||
project(":v1_8_R3").projectDir = file("versions/v1_8_R3")
|
|
||||||
|
|
||||||
val modulePrefix = rootProject.name
|
val modulePrefix = rootProject.name
|
||||||
rootProject.children.forEach {
|
rootProject.children.forEach {
|
||||||
it.name = "$modulePrefix-${it.name}"
|
it.name = "$modulePrefix-${it.name}"
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compileOnly(project(":scoreboard-library-packet-adapter-base"))
|
|
||||||
compileOnly(libs.spigotApi)
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
//id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven("https://repo.viaversion.com")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compileOnly(project(":scoreboard-library-packet-adapter-base")) {
|
|
||||||
//exclude(group = "org.spigotmc", module = "spigot-api")
|
|
||||||
}
|
|
||||||
compileOnly(libs.spigotApi)
|
|
||||||
compileOnly("com.viaversion:viaversion-api:5.7.1")
|
|
||||||
compileOnly("io.netty:netty-buffer:4.2.10.Final")
|
|
||||||
compileOnly("io.netty:netty-handler:4.2.10.Final")
|
|
||||||
//paperweight.paperDevBundle("1.21.11-R0.1-SNAPSHOT")
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks {
|
|
||||||
javadoc {
|
|
||||||
exclude("**")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
java {
|
|
||||||
disableAutoTargetJvm()
|
|
||||||
}
|
|
||||||
|
|
||||||
indra {
|
|
||||||
includeJavaSoftwareComponentInPublications(false)
|
|
||||||
}
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
publications.getByName<MavenPublication>("maven") {
|
|
||||||
// Kept for backwards compatibility
|
|
||||||
artifact(tasks.jar) {
|
|
||||||
classifier = "mojmap"
|
|
||||||
}
|
|
||||||
|
|
||||||
artifact(tasks.jar)
|
|
||||||
artifact(tasks.javadocJar)
|
|
||||||
artifact(tasks.sourcesJar)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
api(project(":scoreboard-library-api"))
|
|
||||||
api(project(":scoreboard-library-commons"))
|
|
||||||
compileOnly(libs.spigotApi)
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
}
|
|
||||||
|
|
||||||
// packetevents adapter is gone, this module is kept for compatibility
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("net.megavex.scoreboardlibrary.base-conventions")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
// Alias to legacy for backwards compatibility
|
|
||||||
implementation(project(":scoreboard-library-legacy"))
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user