|
@@ -21,14 +21,16 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks
|
|
|
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
|
+archivesBaseName = 'elasticsearch-grok'
|
|
|
+
|
|
|
dependencies {
|
|
|
compile 'org.jruby.joni:joni:2.1.6'
|
|
|
// joni dependencies:
|
|
|
compile 'org.jruby.jcodings:jcodings:1.0.12'
|
|
|
|
|
|
- if (isEclipse == false || project.path == ":libs:grok-common-tests") {
|
|
|
+ if (isEclipse == false || project.path == ":libs:grok-tests") {
|
|
|
testCompile("org.elasticsearch.test:framework:${version}") {
|
|
|
- exclude group: 'org.elasticsearch', module: 'grok-common'
|
|
|
+ exclude group: 'org.elasticsearch', module: 'grok'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -40,7 +42,7 @@ forbiddenApisMain {
|
|
|
if (isEclipse) {
|
|
|
// in eclipse the project is under a fake root, we need to change around the source sets
|
|
|
sourceSets {
|
|
|
- if (project.path == ":libs:grok-common") {
|
|
|
+ if (project.path == ":libs:grok") {
|
|
|
main.java.srcDirs = ['java']
|
|
|
main.resources.srcDirs = ['resources']
|
|
|
} else {
|