File tree Expand file tree Collapse file tree 1 file changed +15
-20
lines changed
Expand file tree Collapse file tree 1 file changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ buildscript {
1010}
1111
1212allprojects {
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
3126artifactoryPublish. 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+
3342subprojects {
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
You can’t perform that action at this time.
0 commit comments