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:50:39 +00:00
|
|
|
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")
|
|
|
|
}
|
|
|
|
|
2021-03-16 01:56:59 +00:00
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
maven(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven {
|
2022-01-16 16:10:44 +00:00
|
|
|
name = "jojodev"
|
|
|
|
url = "https://mvn.jojodev.com/releases"
|
2021-03-16 01:56:59 +00:00
|
|
|
credentials {
|
2021-06-11 02:50:39 +00:00
|
|
|
username = "admin"
|
2021-03-16 01:56:59 +00:00
|
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|