update build.gradle

This commit is contained in:
az 2021-02-11 19:24:16 +01:00
parent 297216eae9
commit a277751d7a

View file

@ -130,7 +130,7 @@ task sourceJar(type: Jar, dependsOn: classes) {
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { library(MavenPublication) {
from components.java from components.java
} }
} }
@ -138,7 +138,7 @@ publishing {
if (System.getenv("CI_JOB_TOKEN") != null) { if (System.getenv("CI_JOB_TOKEN") != null) {
// see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html // see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html
maven { maven {
url "https://gitlab.com/api/v4/projects/23127098/packages/maven" url "https://gitlab.com/api/v4/projects/23966425/packages/maven"
name "GitLab" name "GitLab"
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = 'Job-Token' name = 'Job-Token'