File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ buildscript {
6
6
mavenCentral()
7
7
gradlePluginPortal()
8
8
}
9
+ dependencies {
10
+ classpath " org.yaml:snakeyaml:2.2"
11
+ }
9
12
}
10
13
11
14
plugins {
@@ -14,10 +17,14 @@ plugins {
14
17
}
15
18
16
19
ext {
17
- snakeYamlVersion = ' 2.2'
18
20
shadowGradlePluginVersion = ' 8.1.1'
19
21
}
20
22
23
+ // load versions.yml from core before loading rubyUtils.gradle
24
+ import org.yaml.snakeyaml.Yaml
25
+
26
+ def versionsFile = file(LOGSTASH_CORE_PATH + " /../versions.yml" )
27
+ gradle. ext. versions = new Yaml (). load(versionsFile. text)
21
28
22
29
apply from : LOGSTASH_CORE_PATH + " /../rubyUtils.gradle"
23
30
@@ -60,7 +67,7 @@ dependencies {
60
67
implementation fileTree(dir : LOGSTASH_CORE_PATH , include : " **/logstash-core.jar" )
61
68
62
69
testImplementation ' junit:junit:4.12'
63
- testImplementation ' org.jruby:jruby-complete:9.4.7.0 '
70
+ testImplementation " org.jruby:jruby-complete:${ gradle.ext.versions.jruby.version } "
64
71
}
65
72
66
73
clean {
You can’t perform that action at this time.
0 commit comments