Add remote publishing

This commit is contained in:
Kyle Gunger 2023-11-16 23:47:12 -05:00
parent 20f2c0836b
commit cea2f168c5
2 changed files with 14 additions and 1 deletions

View File

@ -87,5 +87,18 @@ publishing {
// Notice: This block does NOT have the same function as the block in the top level.
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
maven {
name = "CShift"
url = uri("https://git.cshift.net/api/packages/CircleShift/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${auth_token}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}

View File

@ -7,4 +7,4 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
}
}
}