File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/test/groovy/org/gradlex/jvm/dependency/conflict/test Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,9 @@ class GuavaClasspathTest extends Specification {
163163 }
164164
165165 tasks.register("printJars") {
166+ inputs.files(configurations.${ classpath} )
166167 doLast {
167- configurations. ${ classpath } .get() .files.forEach { println(it.name) }
168+ inputs .files.forEach { println(it.name) }
168169 }
169170 }
170171 """
Original file line number Diff line number Diff line change @@ -63,11 +63,15 @@ class GradleBuild {
6363 }
6464
6565 GradleRunner runner (String ... args ) {
66+ List<String > latestFeaturesArgs = GRADLE_VERSION_UNDER_TEST ? [] : [
67+ ' --configuration-cache' ,
68+ ' -Dorg.gradle.unsafe.isolated-projects=true'
69+ ]
6670 GradleRunner . create()
6771 .forwardOutput()
6872 .withPluginClasspath()
6973 .withProjectDir(projectDir)
70- .withArguments(Arrays . asList(args) + ' -s' + ' -q' )
74+ .withArguments(Arrays . asList(args) + latestFeaturesArgs + ' -s' + ' -q' )
7175 .withDebug(ManagementFactory . getRuntimeMXBean(). getInputArguments(). toString(). contains(" -agentlib:jdwp" )). with {
7276 GRADLE_VERSION_UNDER_TEST ? it. withGradleVersion(GRADLE_VERSION_UNDER_TEST ) : it
7377 }
You can’t perform that action at this time.
0 commit comments