Merge branch 'dev' into 'master'

Use ajRepo

See merge request ajg0702/ajqueue!12
This commit is contained in:
ajgeiss0702
2021-06-02 01:52:30 +00:00
+8 -9
View File
@@ -54,19 +54,18 @@ publishing {
}
repositories {
val mavenUrl = "https://gitlab.com/api/v4/projects/18580345/packages/maven"
//val mavenSnapshotUrl = "https://gitlab.com/api/v4/projects/18580345/packages/maven"
val mavenUrl = "https://repo.ajg0702.us/releases"
if(!System.getenv("REPO_TOKEN").isNullOrEmpty()) {
maven {
url = uri(mavenUrl)
name = "GitLab"
name = "ajRepo"
credentials(HttpHeaderCredentials::class) {
name = "Job-Token"
value = System.getenv("CI_JOB_TOKEN")
}
authentication {
getCredentials(HttpHeaderCredentials::class)
credentials {
username = "plugins"
password = System.getenv("REPO_TOKEN")
}
}
}
}