Progress toward including Citizens plugin as proper dependency
This commit is contained in:
@@ -13,6 +13,7 @@ dependencies {
|
||||
|
||||
dependencies {
|
||||
compileOnly(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
||||
compileOnly("Citizens2:Citizens:2.0.33:3367@jar")
|
||||
}
|
||||
|
||||
java {
|
||||
|
||||
@@ -4,6 +4,22 @@ dependencyResolutionManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
val citizensJenkins = ivy {
|
||||
name = "citizensRepo"
|
||||
url = uri("https://ci.citizensnpcs.co/job")
|
||||
patternLayout {
|
||||
artifact("/[organisation]/[classifier]/artifact/dist/target/[module]-[revision]-b[classifier].[ext]")
|
||||
}
|
||||
metadataSources {
|
||||
artifact()
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
forRepositories(citizensJenkins)
|
||||
filter {
|
||||
includeGroup("Citizens2")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
versionCatalogs {
|
||||
|
||||
Reference in New Issue
Block a user