38 lines
755 B
Groovy
38 lines
755 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
group = 'de.catmangames.jsonfetcher'
|
|
version = '1.0'
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
from components.java
|
|
}
|
|
}
|
|
repositories {
|
|
maven {
|
|
name = 'gitea'
|
|
url = 'https://git.catlet.de/api/packages/DEIN_USER/maven'
|
|
credentials {
|
|
username = findProperty('giteaUser')
|
|
password = findProperty('giteaPassword')
|
|
}
|
|
}
|
|
}
|
|
} |