Skip to content

Commit

Permalink
🚀 Upload to GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed Jul 18, 2024
1 parent 5aaf0d0 commit 8304a08
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,21 @@ allprojects {
from components.java
}
}
repositories {
maven {
url "file://${rootProject.projectDir}/.mvnrepo"

publishing {
repositories {
repositories {
maven {
url = uri("https://gitlab.com/api/v4/projects/60097152/packages/maven")
credentials(HttpHeaderCredentials) {
name = "Private-Token"
value = findProperty("gitLabPrivateToken").toString() // the variable resides in $GRADLE_USER_HOME/gradle.properties
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
}
}
Expand Down

0 comments on commit 8304a08

Please sign in to comment.