Browse Source

Merge pull request #81 in CORE/base-third from ~DANIEL/base-third:10.0 to 10.0

* commit '43436ad0e552c876b485a5bd9bd561ac6c121e65':
  build
10.0
daniel 6 years ago
parent
commit
9c703d52d1
  1. 12
      build.third_step0.gradle

12
build.third_step0.gradle

@ -44,6 +44,7 @@ def formattedDate = date.format('yyyy.MM.dd')
def srcDir="." def srcDir="."
def maven_version="${version}.${formattedDate}" def maven_version="${version}.${formattedDate}"
def maven_version_build ="${version}-SNAPSHOT"
def jar_version = version def jar_version = version
configurations { configurations {
@ -66,11 +67,20 @@ publishing {
version maven_version version maven_version
from components.java from components.java
} }
third_build(MavenPublication) {
groupId "com.fr.third"
artifactId "fine-third"
version maven_version_build
from components.java
}
} }
repositories { repositories {
maven { maven {
url "http://mvn.finedevelop.com/repository/fanruan-release/" def releasesRepoUrl = "http://mvn.finedevelop.com/repository/fanruan-release/"
def snapshotsRepoUrl = "http://mvn.finedevelop.com/repository/fanruan/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials { credentials {
username = findProperty("NEXUS_USERNAME") username = findProperty("NEXUS_USERNAME")
password = findProperty("NEXUS_PASSWORD") password = findProperty("NEXUS_PASSWORD")

Loading…
Cancel
Save