JConf/build.gradle
Steven Tracey 2eb837f8cf
Some checks failed
JConf Actions Workflow / build (push) Failing after 2s
Gitea Workflow
2024-10-22 14:12:12 -04:00

40 lines
894 B
Groovy

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'tech.nevets'
version = '0.1.0'
repositories {
mavenCentral()
}
dependencies {
implementation("com.google.code.gson:gson:2.11.0")
}
apply plugin: 'maven-publish'
publishing {
publications{
publish(MavenPublication) {
artifact("artifacts/JConf-$version" + "-no-deps.jar") {
classifier 'no-deps'
extension 'jar'
}
artifact("artifacts/JConf-$version" + ".jar") {
extension 'jar'
}
}
}
repositories {
maven {
name 'gitea'
url "https://git.nevets.tech/api/packages/Steven/maven"
credentials {
username System.getenv('giteaUser')
password System.getenv('giteaPass')
}
}
}
}