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
+7 -8
View File
@@ -54,19 +54,18 @@ publishing {
} }
repositories { 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 { maven {
url = uri(mavenUrl) url = uri(mavenUrl)
name = "GitLab" name = "ajRepo"
credentials(HttpHeaderCredentials::class) { credentials {
name = "Job-Token" username = "plugins"
value = System.getenv("CI_JOB_TOKEN") password = System.getenv("REPO_TOKEN")
} }
authentication {
getCredentials(HttpHeaderCredentials::class)
} }
} }
} }