Skip to content

Commit

Permalink
Switched to Reposilite.
Browse files Browse the repository at this point in the history
  • Loading branch information
Asgeir Nilsen committed May 11, 2021
1 parent f75479c commit f86642f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pipeline {
}
stage('Deploy Release') {
environment {
BINTRAY = credentials('fint-bintray')
REPOSILITE = credentials('reposilite')
}
when {
tag pattern: "v\\d+\\.\\d+\\.\\d+(-\\w+-\\d+)?", comparator: "REGEXP"
Expand All @@ -23,7 +23,7 @@ pipeline {
VERSION = TAG_NAME[1..-1]
}
sh "echo Version is ${VERSION}"
sh "gradle --no-daemon -Pversion=${VERSION} -PbintrayUser=${BINTRAY_USR} -PbintrayKey=${BINTRAY_PSW} bintrayUpload"
sh "gradle --no-daemon -Pversion=${VERSION} -PreposiliteUsername=${REPOSILITE_USR} -PreposiliteToken=${REPOSILITE_PSW} publish"
}
}
}
Expand Down
14 changes: 6 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
plugins {
id 'com.github.ben-manes.versions' version '0.21.0'
id 'com.jfrog.bintray' version '1.8.4'
id 'com.github.kt3k.coveralls' version '2.8.2'
}

group = 'no.fint'

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'groovy'
apply plugin: 'jacoco'

Expand All @@ -21,14 +21,14 @@ repositories {
mavenLocal()
jcenter()
maven {
url "http://dl.bintray.com/fint/maven"
url 'https://repo.fintlabs.no/releases'
}
}

apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/v1.5.0/dependencies.gradle'
dependencies {
compile('no.fint:fint-event-model:3.0.0')
compile('no.fint:fint-hazelcast:1.1.1')
compile('no.fint:fint-event-model:3.0.1')
compile('no.fint:fint-hazelcast:1.2.0')

compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
compile("org.projectlombok:lombok:${lombokVersion}")
Expand All @@ -39,7 +39,7 @@ dependencies {
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
testCompile("org.spockframework:spock-spring:${spockSpringVersion}")
testCompile("org.spockframework:spock-core:${spockSpringVersion}")
testCompile('no.fint:fint-test-utils:0.0.4')
testCompile('no.fint:fint-test-utils:0.0.6')
testCompile('org.apache.commons:commons-math3:3.6.1')
}

Expand All @@ -61,6 +61,4 @@ jacocoTestReport {

apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/master/dependencyReport.gradle'

if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey')) {
apply from: 'https://raw.githubusercontent.com/FINTlibs/fint-buildscripts/v1.5.0/bintray.gradle'
}
apply from: 'https://raw.githubusercontent.com/FINTLabs/fint-buildscripts/master/reposilite.gradle'

0 comments on commit f86642f

Please sign in to comment.