Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalbe4 committed Sep 12, 2019
2 parents 01c4aaa + 33adcf9 commit 20edde5
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ buildscript {
}

allprojects {

apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
Expand All @@ -22,14 +21,24 @@ allprojects {
project.tasks.withType(Jar).each {
it.version = currentVersion
}

artifactory {
contextUrl = 'https://oss.jfrog.org'
}
}

artifactoryPublish.skip = true

artifactory {
contextUrl = 'https://oss.jfrog.org'
resolve {
repository {
repoKey = 'libs-release'
}
}
publish {
defaults {
publications 'main'
}
}
}

subprojects {
apply plugin: 'java'

Expand All @@ -46,21 +55,7 @@ subprojects {
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.6'
}

artifactory {
contextUrl = 'https://oss.jfrog.org'
resolve {
repository {
repoKey = 'libs-release'
}
}
publish {
defaults {
publications 'main'
}
}
}


task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
Expand Down

0 comments on commit 20edde5

Please sign in to comment.