IDEA-133078 Gradle: build script classpath resolve sometimes require toplevel(for...
[idea/community.git] / plugins / gradle / tooling-extension-impl / testData / testModelBuildScriptClasspathBuilder / build.gradle
1 //noinspection GrPackage
2 buildscript {
3   dependencies {
4     classpath 'junit:junit:4.11'
5   }
6   repositories {
7     mavenCentral()
8   }
9 }
10
11 project("moduleWithAdditionalClasspath") {
12   buildscript {
13     dependencies {
14       classpath files("lib/someDep.jar")
15     }
16   }
17 }
18
19 project("baseModule") {
20   buildscript {
21     dependencies {
22       classpath files("lib/inheritedDep.jar")
23     }
24   }
25 }
26
27 allprojects {
28   configurations.all {
29
30     // check for configuration which is not in unresolved state  - http://youtrack.jetbrains.com/issue/IDEA-124839
31     exclude group: 'some-group'
32
33     // check for usage of custom resolutionStrategy - http://youtrack.jetbrains.com/issue/IDEA-125592
34     resolutionStrategy.eachDependency { DependencyResolveDetails details ->
35       println details.target
36     }
37   }
38 }