0.0.1 | Basic Functions
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group = 'de.winniepat'
|
||||
version = '0.0.1'
|
||||
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = "https://maven.winniepat.de/repository/maven-releases/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("tools.jackson.core:jackson-databind:3.1.4")
|
||||
implementation("tools.jackson.dataformat:jackson-dataformat-yaml:3.1.4")
|
||||
|
||||
testImplementation platform('org.junit:junit-bom:5.11.4')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
implementation 'com.google.code.gson:gson:2.13.1'
|
||||
|
||||
|
||||
implementation("de.winniepat:winnie-lib:+")
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://maven.winniepat.de/repository/maven-releases/")
|
||||
|
||||
credentials {
|
||||
username = "admin"
|
||||
password = "oXIAxHoSvdm7EJhvV0BQB9Zjd0OOaunf4VUVj7zq"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user