File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,20 @@ buildscript {
8
8
dependencies {
9
9
classpath " org.elasticsearch.gradle:build-tools:${ elasticsearchVersion} "
10
10
}
11
+
11
12
}
12
13
13
14
group = ' info.johtani.elasticsearch.plugin.ingest'
14
15
version = " ${ elasticsearchVersion} .0"
15
16
17
+
18
+
19
+ configurations. all {
20
+ resolutionStrategy. dependencySubstitution {
21
+ substitute project(' :rest-api-spec' ) with module (" org.elasticsearch:rest-api-spec:${ elasticsearchVersion} " )
22
+ }
23
+ }
24
+
16
25
apply plugin : ' java'
17
26
apply plugin : ' idea'
18
27
apply plugin : ' elasticsearch.esplugin'
@@ -23,14 +32,10 @@ esplugin {
23
32
name ' ingest-csv'
24
33
description ' Ingest CSV processor parses CSV data and stores it as individual fields'
25
34
classname ' info.johtani.elasticsearch.plugin.ingest.csv.IngestCsvPlugin'
35
+ licenseFile rootProject. file(' LICENSE.txt' )
36
+ noticeFile = rootProject. file(' NOTICE.txt' )
26
37
}
27
38
28
- project. licenseFile= file(' LICENSE.txt' )
29
- project. noticeFile= file(' NOTICE.txt' )
30
-
31
- subprojects {
32
- ext. projectSubstitutions + = [" info.johtani.elasticsearch.plugin.ingest:ingest-csv:${ elasticsearchVersion} " : ' :ingest-csv:plugin' ]
33
- }
34
39
35
40
// In this section you declare the dependencies for your production and test code
36
41
// Note, the two dependencies are not really needed as the buildscript dependency gets them in already
@@ -49,3 +54,5 @@ thirdPartyAudit.enabled = false
49
54
if (gradle. startParameter. taskNames. contains(' uploadArchives' )) {
50
55
apply from : ' uploadArchives.gradle'
51
56
}
57
+
58
+
Original file line number Diff line number Diff line change
1
+ include ' :rest-api-spec'
1
2
rootProject. name = ' ingest-csv'
You can’t perform that action at this time.
0 commit comments