plugins { id 'java' id 'maven-publish' } group = 'xyz.etztech' version = '0.2.2' sourceCompatibility = '8' publishing { publications { maven(MavenPublication) { from components.java } } repositories { maven { name = "etztech" url = "https://repo.etztech.xyz/releases" credentials { username = "etzelia" password = System.getenv("MAVEN_PASSWORD") } } } }