You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.inksnow.husk'
|
|
|
|
version '1.0'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal()
|
|
|
|
|
|
|
|
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// lombok
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.34'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.34'
|
|
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
|
|
|
|
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
|
|
|
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
|
|
|
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
|
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = 'husk-release'
|
|
|
|
url = findProperty("repository.huskrelease.url")
|
|
|
|
credentials {
|
|
|
|
username = findProperty("repository.huskrelease.username")
|
|
|
|
password = findProperty("repository.huskrelease.password")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
publications {
|
|
|
|
gpr(MavenPublication) {
|
|
|
|
from(components.java)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|