Initial commit
Some checks failed
Gradle Build / build (push) Has been cancelled

This commit is contained in:
CaiXiang
2024-11-30 18:36:13 +08:00
commit aa56926258
2134 changed files with 232943 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// SPDX-FileCopyrightText: The openTCS Authors
// SPDX-License-Identifier: MIT
publishing {
repositories {
if (Boolean.valueOf(project.findProperty('DO_DEPLOY_PRIVATE'))
&& System.getenv('CI_API_V4_URL') != null
&& System.getenv('CI_PROJECT_ID') != null
&& System.getenv('CI_JOB_TOKEN') != null) {
maven {
name = 'deploy-repo-gitlab'
url = "${System.env.CI_API_V4_URL}/projects/${System.env.CI_PROJECT_ID}/packages/maven"
credentials(HttpHeaderCredentials) {
name = 'Job-Token'
value = "${System.env.CI_JOB_TOKEN}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
}