Use ajRepo
This commit is contained in:
+7
-8
@@ -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")
|
||||
credentials {
|
||||
username = "plugins"
|
||||
password = System.getenv("REPO_TOKEN")
|
||||
}
|
||||
authentication {
|
||||
getCredentials(HttpHeaderCredentials::class)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user