Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ buildscript {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "org.yaml:snakeyaml:2.2"
}
}

plugins {
Expand All @@ -14,10 +17,14 @@ plugins {
}

ext {
snakeYamlVersion = '2.2'
shadowGradlePluginVersion = '8.1.1'
}

// load versions.yml from core before loading rubyUtils.gradle
import org.yaml.snakeyaml.Yaml

def versionsFile = file(LOGSTASH_CORE_PATH + "/../versions.yml")
gradle.ext.versions = new Yaml().load(versionsFile.text)

apply from: LOGSTASH_CORE_PATH + "/../rubyUtils.gradle"

Expand Down Expand Up @@ -60,7 +67,7 @@ dependencies {
implementation fileTree(dir: LOGSTASH_CORE_PATH, include: "**/logstash-core.jar")

testImplementation 'junit:junit:4.12'
testImplementation 'org.jruby:jruby-complete:9.4.7.0'
testImplementation "org.jruby:jruby-complete:${gradle.ext.versions.jruby.version}"
}

clean {
Expand Down