Add GitLab to publishing repositories.

This commit is contained in:
Logan Gorence
2022-07-12 01:06:14 -07:00
parent 617017f6e2
commit 842aa4e264

View File

@ -66,5 +66,16 @@ publishing {
password = project.findProperty("github.token") as String?
}
}
maven {
name = "gitlab"
url = uri("https://gitlab.com/api/v4/projects/37752100/packages/maven")
credentials(HttpHeaderCredentials::class.java) {
name = "Private-Token"
value = project.findProperty("gitlab.com.accessToken") as String?
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
}