2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-16 16:48:13 +03:00

Added repository rehlds-dev

This commit is contained in:
s1lentq 2016-12-02 04:46:57 +07:00
parent 4bd4ab6724
commit f22a6ae9d0
3 changed files with 11 additions and 3 deletions

View File

@ -9,6 +9,9 @@ repositories {
maven { maven {
url 'http://nexus.rehlds.org/nexus/content/repositories/rehlds-snapshots/' url 'http://nexus.rehlds.org/nexus/content/repositories/rehlds-snapshots/'
} }
maven {
url 'http://nexus.rehlds.org/nexus/content/repositories/rehlds-dev/'
}
} }
dependencies { dependencies {

View File

@ -56,8 +56,8 @@ publishing {
publishing { publishing {
repositories { repositories {
maven { maven {
if (project.version.contains('SNAPSHOT')) { if (project.version.contains('dev')) {
url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-snapshots/" url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-dev/"
} else { } else {
url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-releases/" url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-releases/"
} }

View File

@ -90,6 +90,11 @@ publishing {
resolveStrategy = DELEGATE_FIRST resolveStrategy = DELEGATE_FIRST
name project.name name project.name
description project.description description project.description
properties {
commitDate project.ext.rehldsVersionInfo.commitDate
commitSHA project.ext.rehldsVersionInfo.commitSHA
}
//url github //url github
//scm { //scm {
// url "${github}.git" // url "${github}.git"
@ -129,7 +134,7 @@ publishing {
repositories { repositories {
maven { maven {
if (project.version.contains('dev')) { if (project.version.contains('dev')) {
url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-snapshots/" url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-dev/"
} else { } else {
url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-releases/" url "http://nexus.rehlds.org/nexus/content/repositories/rehlds-releases/"
} }