mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-12 15:07:22 +01:00
Merge pull request #769 from electronicboy/gradle/improvements
Gradle/improvements
This commit is contained in:
commit
6e64b9993c
4
.gitignore
vendored
4
.gitignore
vendored
@ -19,3 +19,7 @@ gradle-app.setting
|
||||
.project
|
||||
# JDT-specific (Eclipse Java Development Tools)
|
||||
.classpath
|
||||
|
||||
**/.idea
|
||||
*.iml
|
||||
*.ipr
|
@ -37,6 +37,7 @@ subprojects {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
disableAutoTargetJvm()
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
|
@ -41,7 +41,7 @@ org-spigotmc-spigot = { module = "org.spigotmc:spigot", version.ref = "org-spigo
|
||||
org-spigotmc-spigot-api = { module = "org.spigotmc:spigot-api", version.ref = "org-spigotmc-spigot-latest" }
|
||||
com-retro-packetevents = { module = "com.github.retrooper:packetevents-spigot", version.ref = "com-retro-packetevents-version" }
|
||||
org-projectlombok-lombok = { module = "org.projectlombok:lombok", version.ref = "lombok-version" }
|
||||
libsdisguises-minimessage = { module = "me.libraryaddict.disguises:minimessage", version = "1.0-SNAPSHOT" }
|
||||
#libsdisguises-minimessage = { module = "me.libraryaddict.disguises:minimessage", version = "1.0-SNAPSHOT" }
|
||||
junit-plugin = { module = "junit:junit", version.ref = "junit-version" }
|
||||
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-jupiter-version" }
|
||||
mockito = { module = "org.mockito:mockito-core", version.ref = "mockito-version" }
|
||||
|
@ -7,13 +7,13 @@ version = "10.0.44-SNAPSHOT"
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":shared"))
|
||||
compileOnly(project(":minimessage", "shadow"))
|
||||
compileOnly(libs.io.netty.netty.buffer)
|
||||
compileOnly(libs.io.netty.netty.codec)
|
||||
compileOnly(libs.commons.lang.commons.lang)
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
compileOnly(libs.org.spigotmc.spigot.api)
|
||||
compileOnly(libs.com.retro.packetevents)
|
||||
compileOnly(libs.libsdisguises.minimessage)
|
||||
compileOnly(libs.io.papermc.paper.paper.api);
|
||||
compileOnly(libs.it.unimi.dsi.fastutil)
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ testing {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
shadow(libs.libsdisguises.minimessage) {
|
||||
shadow(project(":minimessage", "shadow")) {
|
||||
exclude("*")
|
||||
}
|
||||
shadow(project(":shared")) {
|
||||
@ -96,7 +96,7 @@ dependencies {
|
||||
// Dependencies that are used to compile, and will also be provided at test runtime
|
||||
testImplementation(project(":shared"))
|
||||
testImplementation(project(":plugin"))
|
||||
testImplementation(libs.libsdisguises.minimessage)
|
||||
testImplementation(project(":minimessage", "shadow"))
|
||||
testImplementation(libs.mockito)
|
||||
testImplementation(libs.com.retro.packetevents)
|
||||
testImplementation(libs.net.kyori.adventure.api)
|
||||
|
Loading…
Reference in New Issue
Block a user