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') } } } }