javacord/build.gradle

40 lines
723 B
Groovy
Raw Normal View History

plugins {
id 'java'
id 'maven-publish'
}
group = 'xyz.etztech'
version = '0.2.2'
sourceCompatibility = '8'
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
dependencies {
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 = "birbmc"
url = "https://mvn.birbmc.com/releases"
credentials {
username = "admin"
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}