From e0072f50a624952d244347eee5cb8835946663d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kautler?= Date: Fri, 3 Feb 2023 06:34:50 +0100 Subject: [PATCH] Add gradle/libs.versions.toml to the default dependency paths (#62) --- .../com/github/burrunan/gradle/cache/dependenciesCache.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0b86f13..127f02e 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 @@ -70,6 +70,7 @@ suspend fun gradleDependenciesCache(trigger: ActionsTrigger, path: String, gradl "$path/**/*.gradle.kts", "$path/**/gradle/dependency-locking/**", "$path/**/*.properties", + "$path/gradle/libs.versions.toml", ) + gradleDependenciesCacheKey.map { (if (it.startsWith("!")) "!" else "") + "$path/**/" + it.trim().trimStart('!') @@ -88,4 +89,3 @@ suspend fun mavenDependenciesCache(trigger: ActionsTrigger, path: String, mavenL "$path/**/pom.xml", ), ) -