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
Supports Markdown
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