Skip to content

Commit 20edde5

Browse files
committed
Merge branch 'dev'
2 parents 01c4aaa + 33adcf9 commit 20edde5

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

build.gradle

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ buildscript {
1010
}
1111

1212
allprojects {
13-
1413
apply plugin: 'maven'
1514
apply plugin: 'maven-publish'
1615
apply plugin: 'com.jfrog.artifactory'
@@ -22,14 +21,24 @@ allprojects {
2221
project.tasks.withType(Jar).each {
2322
it.version = currentVersion
2423
}
25-
26-
artifactory {
27-
contextUrl = 'https://oss.jfrog.org'
28-
}
2924
}
3025

3126
artifactoryPublish.skip = true
3227

28+
artifactory {
29+
contextUrl = 'https://oss.jfrog.org'
30+
resolve {
31+
repository {
32+
repoKey = 'libs-release'
33+
}
34+
}
35+
publish {
36+
defaults {
37+
publications 'main'
38+
}
39+
}
40+
}
41+
3342
subprojects {
3443
apply plugin: 'java'
3544

@@ -46,21 +55,7 @@ subprojects {
4655
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
4756
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.6'
4857
}
49-
50-
artifactory {
51-
contextUrl = 'https://oss.jfrog.org'
52-
resolve {
53-
repository {
54-
repoKey = 'libs-release'
55-
}
56-
}
57-
publish {
58-
defaults {
59-
publications 'main'
60-
}
61-
}
62-
}
63-
58+
6459
task sourcesJar(type: Jar, dependsOn: classes) {
6560
classifier = 'sources'
6661
from sourceSets.main.allSource

0 commit comments

Comments
 (0)