40 lines
852 B
Groovy
40 lines
852 B
Groovy
import libs.LibsPlugin
|
|
|
|
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: LibsPlugin
|
|
|
|
def publishScript = file(rootProject.getProjectDir().getPath() + '/publish.gradle')
|
|
if (publishScript.exists()) {
|
|
apply from: publishScript.path
|
|
}
|
|
|
|
project.group = projectGroup
|
|
project.version = projectVersion
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public' }
|
|
maven { url 'https://dmx-mc-project.gitlab.io/maven-repository/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly libs.lombok
|
|
annotationProcessor libs.lombok
|
|
|
|
compileOnly libs.bukkit
|
|
implementation libs.commons_text
|
|
implementation libs.refobj
|
|
|
|
testImplementation libs.test.junit5
|
|
testImplementation libs.test.mock
|
|
testImplementation libs.bukkit
|
|
testImplementation libs.test.h2db
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |