Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testSet 3.0 does not add dependencies to Eclipse classpath by default #110

Open
dgeissl opened this issue Apr 22, 2020 · 1 comment
Open

Comments

@dgeissl
Copy link

dgeissl commented Apr 22, 2020

After upgrading to version 3.0 we've found, that the integrationTestImplementation dependencies are not present in the eclipse classpath anymore.
Adding the configuration via:

eclipse {
    classpath {
        plusConfigurations += configurations.integrationTestImplementation
    }
}

failed with Resolving configuration 'integrationTestImplementation' directly is not allowed.
After some digging I found the following code/comment:
https://github.com/unbroken-dome/gradle-testsets-plugin/blob/master/src/main/kotlin/org/unbrokendome/gradle/plugins/testsets/TestSetsPlugin.kt#L199-L203

adding the property to my gradle.properties file it started working again.
After that I am curious what makes you think the EclipseModel is not evaluated anymore, so one does have to enable it manually?

Used Eclipse Version is:
Version: 2020-03 (4.15.0)
Build id: 20200313-1211
Buildship: Eclipse Plug-ins for Gradle 3.1.4.v20200326-1718

@jpschewe
Copy link

jpschewe commented Jul 3, 2020

I have

testSets {
    integrationTest
}

in my build.gradle and have found too that using version 3.0.1 of testsets the dependencies for integrationTestImplementation does not get added unless I add org.unbroken-dome.test-sets.modifyEclipseClasspath=true to my gradle.properties file.

jpschewe added a commit to jpschewe/fll-sw that referenced this issue Jul 3, 2020
For some reason testsets has decided to no longer include dependencies
in the generated classpath for eclipse. Enabling this property causes
that to work again. See
unbroken-dome/gradle-testsets-plugin#110 for
discussion of this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants