plugins { id 'java' id 'maven-publish' id 'com.github.johnrengelman.shadow' version '5.2.0' } group 'tech.nevets.osql4j' version '1.0.0' sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 repositories { mavenCentral() } dependencies { implementation 'org.jetbrains:annotations:23.0.0' implementation 'org.xerial:sqlite-jdbc:3.39.3.0' implementation 'mysql:mysql-connector-java:8.0.30' } apply plugin: 'maven-publish' publishing { publications{ publish(MavenPublication) { artifact("gitea/OSQL4J-$version" + "-no-deps.jar") { classifier 'no-deps' extension 'jar' } artifact("gitea/OSQL4J-$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') } } } }