2020-09-07 20:56:25 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'xyz.etztech'
|
|
|
|
version = '1.0.7'
|
|
|
|
sourceCompatibility = '8'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2020-09-07 21:14:37 +00:00
|
|
|
maven {url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'}
|
|
|
|
maven {url = 'http://jcenter.bintray.com'}
|
|
|
|
maven {url = 'https://jitpack.io'}
|
2020-09-07 20:56:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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 = "etztech"
|
|
|
|
url = "https://repo.etztech.xyz/releases"
|
|
|
|
credentials {
|
|
|
|
username = "etzelia"
|
|
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|