diff --git a/build.gradle b/build.gradle index 7989b0eca5..f6b6855337 100644 --- a/build.gradle +++ b/build.gradle @@ -223,7 +223,7 @@ subprojects { tree.each {File file -> - destinationFile = new File(file.getPath().replaceFirst('\\.', '-min.')) + destinationFile = new File(file.getPath().replaceFirst('\\.js', '-min.js')) file.withReader{ reader -> compressor = new com.yahoo.platform.yui.compressor.JavaScriptCompressor(reader, null)