PluginAPI/build.gradle

62 lines
1.2 KiB
Groovy
Raw Normal View History

plugins {
id 'java'
id 'maven-publish'
}
group = 'xyz.etztech'
version = '1.0.7'
sourceCompatibility = '8'
repositories {
mavenLocal()
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
maven {
url = uri('https://mvnrepository.com/artifact/')
}
maven {
url = uri('http://jcenter.bintray.com')
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('http://repo.maven.apache.org/maven2')
}
}
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")
}
}
}
}