Initialize project with JsonFetcher implementation, Gradle setup, and IntelliJ configuration.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user