Skip to content

Commit 586ba12

Browse files
author
jbaruch
committed
runtime scope fixed, groovy version upgrade
1 parent 1aecf08 commit 586ba12

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

api/src/main/java/org/jfrog/artifactory/client/ArtifactorySystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* System Level Configuration.
7-
* <p/>
7+
*
88
* (Class can not be named System because of conflict with java.lang.System.)
99
*
1010
* @author quidryan

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ subprojects {
116116
appendNode('url', 'https://github.com/JFrogDev/artifactory-client-java')
117117
}
118118
}
119+
asNode().dependencies.'*'.findAll() {
120+
it.scope.text() == 'runtime' && project.configurations.compile.allDependencies.find { dep ->
121+
dep.name == it.artifactId.text()
122+
}
123+
}.each() {
124+
it.scope*.value = 'compile'
125+
}
119126
}
120127
}
121128
}

services/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
}
2020

2121
def addGroovy(name) {
22-
[group: 'org.codehaus.groovy', name: name, version: '2.1.0', classifier: 'indy']
22+
[group: 'org.codehaus.groovy', name: name, version: '2.3.2']
2323
}
2424

2525
def addJackson(name) {

0 commit comments

Comments
 (0)