Skip to content

Commit 36a4cc2

Browse files
committed
Test support for Gradle Configuration Cache (#27)
1 parent a303212 commit 36a4cc2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/functionalTest/java/io/miret/etienne/gradle/sass/SassGradlePluginFunctionalTest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,17 @@ void should_be_quiet () throws IOException {
306306
));
307307
}
308308

309+
@Test
310+
void should_support_Gradle_configuration_cache() throws IOException {
311+
createExecutable();
312+
313+
GradleRunner.create()
314+
.withPluginClasspath()
315+
.withArguments("--configuration-cache", "compileCustomSass")
316+
.withProjectDir(projectDir.toFile())
317+
.build();
318+
}
319+
309320
private Path createExecutable () throws IOException {
310321
Path out = projectDir.resolve ("build/out");
311322
Path sassDir = projectDir.resolve (".gradle/sass/some.specific.version/dart-sass");

0 commit comments

Comments
 (0)