You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradle was not able to resolve the function and add the dependencies correctly until i added the following function which solved it:
fun DependencyHandler.testCommonImplementation(dependencyNotation:Any): Dependency?=
add("testCommonImplementation", dependencyNotation)
Could someone clarify if one is supposed to do it this way? Being not that well versed with gradle this gave me quite the headache
The text was updated successfully, but these errors were encountered:
AlbRoehm
changed the title
Gradle is not resolving DependencyHandler methods for tests sets
Gradle is not resolving DependencyHandler methods for test sets
Oct 6, 2021
Gradle Wrapper Version 7.1
I was trying to add a dependency to the test library module i defined like this:
According to the documentation i expected to be able to add dependency in the following syntax.
Gradle was not able to resolve the function and add the dependencies correctly until i added the following function which solved it:
Could someone clarify if one is supposed to do it this way? Being not that well versed with gradle this gave me quite the headache
The text was updated successfully, but these errors were encountered: