This commit is contained in:
@@ -8,7 +8,8 @@ buildscript {
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { setUrl("https://nexus.thpeetz.de/repository/maven-central") }
|
||||
//mavenCentral()
|
||||
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
|
||||
maven { setUrl("https://repo.spring.io/milestone") }
|
||||
}
|
||||
@@ -34,7 +35,8 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { setUrl("https://nexus.thpeetz.de/repository/maven-central") }
|
||||
//mavenCentral()
|
||||
ruby.gems()
|
||||
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
|
||||
maven { setUrl("https://repo.spring.io/milestone") }
|
||||
@@ -106,15 +108,24 @@ publishing {
|
||||
artifact pdfArtifact
|
||||
}
|
||||
bootJava(MavenPublication) {
|
||||
artifact tasks.named("bootDistTar")
|
||||
}
|
||||
artifact tasks.named("bootJar")
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
name = "gitlabPackageRegistry"
|
||||
url = uri("https://gitlab.com/api/v4/projects/64726715/packages/maven")
|
||||
credentials(PasswordCredentials)
|
||||
url = version.endsWith('SNAPSHOT') ?
|
||||
'https://nexus.thpeetz.de/repository/maven-snapshots' :
|
||||
'https://nexus.thpeetz.de/repository/maven-releases'
|
||||
credentials {
|
||||
username = project.findProperty('nexusUser')
|
||||
password = project.findProperty('nexusPassword')
|
||||
}
|
||||
}
|
||||
// maven {
|
||||
// name = "gitlabPackageRegistry"
|
||||
// url = uri("https://gitlab.com/api/v4/projects/64726715/packages/maven")
|
||||
// credentials(PasswordCredentials)
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
description='Kontor with Spring Boot'
|
||||
version=0.3.0-SNAPSHOT
|
||||
group=de.thpeetz
|
||||
nexusUser=kontor
|
||||
nexusPassword=kontorNexus
|
||||
|
||||
Reference in New Issue
Block a user