renamed module
This commit is contained in:
parent
2ca2585466
commit
3fad16e76c
|
@ -21,14 +21,16 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks
|
||||||
|
|
||||||
apply plugin: 'elasticsearch.build'
|
apply plugin: 'elasticsearch.build'
|
||||||
|
|
||||||
|
archivesBaseName = 'elasticsearch-grok'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'org.jruby.joni:joni:2.1.6'
|
compile 'org.jruby.joni:joni:2.1.6'
|
||||||
// joni dependencies:
|
// joni dependencies:
|
||||||
compile 'org.jruby.jcodings:jcodings:1.0.12'
|
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}") {
|
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) {
|
if (isEclipse) {
|
||||||
// in eclipse the project is under a fake root, we need to change around the source sets
|
// in eclipse the project is under a fake root, we need to change around the source sets
|
||||||
sourceSets {
|
sourceSets {
|
||||||
if (project.path == ":libs:grok-common") {
|
if (project.path == ":libs:grok") {
|
||||||
main.java.srcDirs = ['java']
|
main.java.srcDirs = ['java']
|
||||||
main.resources.srcDirs = ['resources']
|
main.resources.srcDirs = ['resources']
|
||||||
} else {
|
} else {
|
|
@ -23,7 +23,7 @@ esplugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':libs:grok-common')
|
compile project(':libs:grok')
|
||||||
}
|
}
|
||||||
|
|
||||||
compileJava.options.compilerArgs << "-Xlint:-unchecked,-rawtypes"
|
compileJava.options.compilerArgs << "-Xlint:-unchecked,-rawtypes"
|
||||||
|
|
Loading…
Reference in New Issue