From cbc602a1f7cc447c8b9b42c68f0605f76061e05a Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 30 Aug 2018 13:39:16 +0300 Subject: [PATCH] Implement support for non-kts scripts in gradle #KT-26784 fixed Original commit: a03bfb3561421e6655d04c05dbcaec83ac488f9b --- .../org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt index 13a812223e1..cf61289e250 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt @@ -204,7 +204,7 @@ abstract class AbstractLookupTrackerTest : TestWithWorkingDir() { val testDir = File(path) val workToOriginalFileMap = HashMap(copyTestSources(testDir, srcDir, filePrefix = "")) - var dirtyFiles = srcDir.walk().filterTo(HashSet()) { it.isKotlinFile() } + var dirtyFiles = srcDir.walk().filterTo(HashSet()) { it.isKotlinFile(listOf("kt", "kts")) } val steps = getModificationsToPerform(testDir, moduleNames = null, allowNoFilesWithSuffixInTestData = true, touchPolicy = TouchPolicy.CHECKSUM) .filter { it.isNotEmpty() }