Commit f2e65a2e authored by Raimbek Egemberdiev's avatar Raimbek Egemberdiev

публикация в артифактори

parent 22cc11cc
......@@ -2,6 +2,8 @@ group 'kz.arta.synergy.api'
version '1.0'
apply plugin: 'java'
apply plugin: 'artifactory-publish'
apply plugin: 'maven-publish'
sourceCompatibility = 1.7
......@@ -9,6 +11,16 @@ repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '2.2.4')
}
}
def jacksonVersion = '1.9.2'
dependencies {
testCompile group: 'org.testng', name: 'testng', version: '6.8'
......@@ -18,3 +30,28 @@ dependencies {
compile(group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: jacksonVersion, transitive: false)
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.4'
}
artifactory {
contextUrl = 'http://192.168.1.30:8081/artifactory'
publish {
repository {
repoKey = 'synergy-libs'
username = 'deployer'
password = 'deployer'
}
defaults {
publishArtifacts = true
publications('mavenJava')
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId 'kz.arta.synergy'
artifactId 'synergy-api-util'
artifact jar
}
}
}
\ No newline at end of file
Markdown is supported
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