build: Implement type safe project accessors
This commit is contained in:
parent
04e430466f
commit
f5ecb22b06
@ -25,8 +25,8 @@ allprojects {
|
||||
|
||||
dependencies {
|
||||
shadow(project(":authmevelocity-common", "shadow"))
|
||||
shadow(project(":authmevelocity-api-paper"))
|
||||
shadow(project(":authmevelocity-api-velocity"))
|
||||
shadow(projects.authmevelocityApiPaper)
|
||||
shadow(projects.authmevelocityApiVelocity)
|
||||
shadow(project(":authmevelocity-velocity", "shadow"))
|
||||
shadow(project(":authmevelocity-paper", "shadow"))
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
alias(libs.plugins.blossom)
|
||||
// Required to shadow packages
|
||||
// Required to relocate packages
|
||||
alias(libs.plugins.shadow)
|
||||
}
|
||||
|
||||
|
@ -10,8 +10,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":authmevelocity-common"))
|
||||
compileOnly(project(":authmevelocity-api-paper"))
|
||||
compileOnly(projects.authmevelocityCommon)
|
||||
compileOnly(projects.authmevelocityApiPaper)
|
||||
compileOnly(libs.paper)
|
||||
compileOnly(libs.authme)
|
||||
compileOnly(libs.miniplaceholders)
|
||||
|
@ -1,3 +1,6 @@
|
||||
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
||||
enableFeaturePreview("VERSION_CATALOGS")
|
||||
|
||||
rootProject.name = "authmevelocity-parent"
|
||||
|
||||
listOf("common", "paper", "velocity").forEach {
|
||||
|
@ -9,8 +9,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":authmevelocity-common"))
|
||||
compileOnly(project(":authmevelocity-api-velocity"))
|
||||
compileOnly(projects.authmevelocityCommon)
|
||||
compileOnly(projects.authmevelocityApiVelocity)
|
||||
compileOnly(libs.velocity)
|
||||
compileOnly(libs.miniplaceholders)
|
||||
compileOnly(libs.fastlogin.velocity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user