From 1c5926921692d0f5fc1b67a6df597cfb2df13f4e Mon Sep 17 00:00:00 2001 From: Vladimir Sitnikov Date: Wed, 19 Aug 2020 13:06:33 +0300 Subject: [PATCH] Gradle dependencies: treat *.gradle.kts as a part of the cache key --- .../kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt b/layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt index 6a9fe3c..2f5b837 100644 --- a/layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt +++ b/layered-cache/src/main/kotlin/com/github/burrunan/gradle/cache/dependenciesCache.kt @@ -67,6 +67,7 @@ suspend fun gradleDependenciesCache(trigger: ActionsTrigger, path: String, gradl ), pathDependencies = listOf( "$path/**/*.gradle", + "$path/**/*.gradle.kts", "$path/**/gradle/dependency-locking/**", "$path/**/*.properties", ) + gradleDependenciesCacheKey.map {