Created
December 11, 2013 14:39
-
-
Save rwinch/7911475 to your computer and use it in GitHub Desktop.
Gradle DependencyResolveDetails example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile 'org.springframework:spring-core', // spring-core has no version specified | |
// security brings in spring version 3.0.7 | |
'org.springframework.security:spring-security-core:3.1.4.RELEASE' | |
} | |
// ensure that all versions of spring are using 3.2.5.RELEASE | |
configurations.all { | |
resolutionStrategy.eachDependency { DependencyResolveDetails details -> | |
if (details.requested.group == 'org.springframework') | |
details.useVersion '3.2.5.RELEASE' | |
} | |
} | |
// invoke "gradle dependencies" to see listing of dependencies |
I was also face this issue but now resolved,
Download ndk bundle from File -> Project Structure -> and download ndk that's it.
Enjoy the code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cannot resolve symbol 'DependencyResolveDetails'