mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
49 lines
1.3 KiB
Groovy
49 lines
1.3 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
description 'CarbonChat-API'
|
|
|
|
dependencies {
|
|
api "org.checkerframework:checker-qual:${vers['checker-qual']}"
|
|
|
|
api "net.kyori:adventure-api:${vers['adventure']}"
|
|
api "net.kyori:adventure-nbt:${vers['adventure']}"
|
|
api "net.kyori:adventure-platform-api:${vers['adventure-platform']}"
|
|
api "net.kyori:adventure-text-serializer-plain:${vers['adventure']}"
|
|
api("net.kyori:adventure-text-serializer-gson:${vers['adventure']}") {
|
|
exclude group: 'com.google.code.gson'
|
|
}
|
|
api "net.kyori:adventure-text-serializer-legacy:${vers['adventure']}"
|
|
api "net.kyori:adventure-text-minimessage:${vers['minimessage']}"
|
|
|
|
api "de.themoep:minedown-adventure:${vers['minedown']}"
|
|
|
|
api("net.kyori:event-api:${vers['kyori-event-api']}")
|
|
api("net.kyori:registry:${vers['kyori-registry']}")
|
|
|
|
api "cloud.commandframework:cloud-core:${vers['cloud']}"
|
|
|
|
api "org.spongepowered:configurate-core:${vers['configurate']}"
|
|
|
|
api "com.google.guava:guava:${vers['guava']}"
|
|
|
|
compileOnlyApi "org.slf4j:slf4j-api:${vers['slf4j-api']}"
|
|
|
|
compileOnlyApi "net.luckperms:api:${vers['luckperms-api']}"
|
|
}
|
|
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = 'net.draycia'
|
|
artifactId = description
|
|
version = projectVersion // No hash
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
}
|