Skip to content

Commit 1a46672

Browse files
authored
Merge pull request #110 from dartartem/idea-eclipse
#109: Make sure that project (development branch) can be imported by …
2 parents a4a54bd + 92ea07e commit 1a46672

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/groovy/IntegrationTestsPlugin.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ class IntegrationTestsPlugin implements Plugin<Project> {
66

77
@Override
88
void apply(Project project) {
9+
10+
project.apply(plugin: 'eclipse')
11+
912
project.sourceSets {
1013
integrationTest {
1114
java {
@@ -22,6 +25,8 @@ class IntegrationTestsPlugin implements Plugin<Project> {
2225
integrationTestRuntime.extendsFrom testRuntime
2326
}
2427

28+
project.eclipse.classpath.plusConfigurations << project.configurations.integrationTestCompile
29+
2530
project.task("integrationTest", type: Test) {
2631
testClassesDirs = project.sourceSets.integrationTest.output.classesDirs
2732
classpath = project.sourceSets.integrationTest.runtimeClasspath

0 commit comments

Comments
 (0)