Skip to content

Commit

Permalink
Add GitLab to publishing repositories.
Browse files Browse the repository at this point in the history
  • Loading branch information
kubeliv committed Jul 12, 2022
1 parent 617017f commit 842aa4e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
}

0 comments on commit 842aa4e

Please sign in to comment.