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

How can I use 'integrationTestImplementation` when naming the source set 'integration-test' #116

Open
xetra11 opened this issue Mar 4, 2021 · 1 comment

Comments

@xetra11
Copy link

xetra11 commented Mar 4, 2021

I created the integration test sourceset like this:

testSets {
    create("integration-test")
}

using integrationTestImplementation in dependencies therefore is not resolving. Is there a way to make it work?

@piefel
Copy link

piefel commented Apr 20, 2021

Why do you want to name the sourceset integration-test? Is it because your source folder has that name? The solution for this case would be (in Kotlin syntax):

testSets {
    "integrationTest" {
        dirName = "integration-test"
    }
}

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