2021-03-16 01:56:59 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'xyz.etztech'
|
|
|
|
version = '0.2.2'
|
|
|
|
sourceCompatibility = '8'
|
|
|
|
|
2021-06-11 02:47:12 +00:00
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.2")
|
|
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
|
|
|
|
}
|
|
|
|
|
2021-03-16 01:56:59 +00:00
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
maven(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven {
|
2021-06-11 02:47:12 +00:00
|
|
|
name = "birbmc"
|
|
|
|
url = "https://mvn.birbmc.com/releases"
|
2021-03-16 01:56:59 +00:00
|
|
|
credentials {
|
2021-06-11 02:47:12 +00:00
|
|
|
username = "admin"
|
2021-03-16 01:56:59 +00:00
|
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|