From 695892a7426d120562f2e6c58af4c246d12cbdf1 Mon Sep 17 00:00:00 2001 From: Scott Murphy Heiberg Date: Fri, 30 Aug 2024 09:55:25 -0700 Subject: [PATCH] Default skipNonDigests for all applications. --- .../asset/pipeline/gradle/AssetPipelineExtensionImpl.groovy | 2 +- .../groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelineExtensionImpl.groovy b/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelineExtensionImpl.groovy index d374014e..c4340179 100644 --- a/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelineExtensionImpl.groovy +++ b/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelineExtensionImpl.groovy @@ -14,7 +14,7 @@ class AssetPipelineExtensionImpl implements AssetPipelineExtension { boolean enableSourceMaps = true boolean minifyCss = true boolean enableDigests = true - boolean skipNonDigests = false + boolean skipNonDigests = true boolean enableGzip = true boolean packagePlugin=false boolean developmentRuntime=true diff --git a/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy b/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy index becb5285..a0ed1500 100644 --- a/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy +++ b/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy @@ -52,7 +52,6 @@ class AssetPipelinePlugin implements Plugin { config.cacheLocation = "${project.buildDir}/.assetcache" if (project.extensions.findByName('grails')) { defaultConfiguration.assetsPath = "${project.projectDir}/app/assets" - defaultConfiguration.skipNonDigests = true } else { defaultConfiguration.assetsPath = "${project.projectDir}/src/assets" }