In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

This Server has been upgraded to GitLab release 14.2.6

Commit 81954d81 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update build script

parent 30b3a08c
Pipeline #24231 passed with stage
in 2 minutes and 19 seconds
......@@ -73,6 +73,13 @@ dependencies {
}
sourceSets {
main.kotlin.srcDirs += 'src/main/kotlin'
test.kotlin.srcDirs += 'src/test/kotlin'
test.resources.srcDirs += 'src/test/resources'
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
classifier "sources"
......@@ -87,11 +94,12 @@ compileTestKotlin {
publishing {
publications {
normalizationServiceLibrary(MavenPublication) {
library(MavenPublication) {
from components.java
pom {
name = 'Normalization Service Configuration'
description = "This library contains the parsers and validators for the normalization service configurations."
url = "https://gitlab.switch.ch/memoriav/memobase-2020/libraries/package-registry"
licenses {
license {
name = 'The Apache License, Version 2.0'
......@@ -120,12 +128,13 @@ publishing {
url "https://gitlab.switch.ch/api/v4/projects/package-registry/packages/maven"
name "GitLab"
credentials(HttpHeaderCredentials) {
name "Job Token"
value System.getenv("CI_JOB_TOKEN")
name "Private-Token"
value "xWB1w947_6DV19xnHSwg"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment