46 lines
1.0 KiB
Groovy
46 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
group = 'xyz.etztech'
|
|
version = '1.0.7'
|
|
sourceCompatibility = '8'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'}
|
|
maven {url = 'https://jcenter.bintray.com'}
|
|
maven {url = 'https://jitpack.io'}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.zaxxer:HikariCP:3.4.5'
|
|
implementation 'com.h2database:h2:1.4.200'
|
|
compileOnly 'org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT'
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.2")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
from(components.java)
|
|
}
|
|
}
|
|
repositories {
|
|
maven {
|
|
name = "jojodev"
|
|
url = "https://mvn.jojodev.com/releases"
|
|
credentials {
|
|
username = "admin"
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
}
|
|
}
|
|
}
|
|
}
|