Skip to content

Commit

Permalink
changed required, as per elastic/elasticsearch#45073, REF:https://git…
Browse files Browse the repository at this point in the history
  • Loading branch information
nelg committed Aug 5, 2019
1 parent 8e3e1e6 commit 1ad5467
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
19 changes: 13 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@ buildscript {
dependencies {
classpath "org.elasticsearch.gradle:build-tools:${elasticsearchVersion}"
}

}

group = 'info.johtani.elasticsearch.plugin.ingest'
version = "${elasticsearchVersion}.0"



configurations.all {
resolutionStrategy.dependencySubstitution {
substitute project(':rest-api-spec') with module ("org.elasticsearch:rest-api-spec:${elasticsearchVersion}")
}
}

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'elasticsearch.esplugin'
Expand All @@ -23,14 +32,10 @@ esplugin {
name 'ingest-csv'
description 'Ingest CSV processor parses CSV data and stores it as individual fields'
classname 'info.johtani.elasticsearch.plugin.ingest.csv.IngestCsvPlugin'
licenseFile rootProject.file('LICENSE.txt')
noticeFile = rootProject.file('NOTICE.txt')
}

project.licenseFile= file('LICENSE.txt')
project.noticeFile= file('NOTICE.txt')

subprojects {
ext.projectSubstitutions += ["info.johtani.elasticsearch.plugin.ingest:ingest-csv:${elasticsearchVersion}": ':ingest-csv:plugin']
}

// In this section you declare the dependencies for your production and test code
// Note, the two dependencies are not really needed as the buildscript dependency gets them in already
Expand All @@ -49,3 +54,5 @@ thirdPartyAudit.enabled = false
if (gradle.startParameter.taskNames.contains('uploadArchives')) {
apply from: 'uploadArchives.gradle'
}


1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include ':rest-api-spec'
rootProject.name = 'ingest-csv'

0 comments on commit 1ad5467

Please sign in to comment.