[ 
https://issues.apache.org/jira/browse/TAP5-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Kemnade closed TAP5-2573.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 5.5.0

We cannot include a newer version in Tapestry 5.4.x because we need to support 
Java 6. Tapestry 5.5 will include a more recent Closure Compiler and until it 
comes out, you can always create a modified version of the 
{{GoogleClosureMinimizer}} class and use it to override the default compiler:
{code:java}
@Contribute(ResourceMinimizer.class)
@Primary
public static void overrideClosureCompiler(final MappedConfiguration<String, 
ResourceMinimizer> configuration) {
  configuration.overrideInstance("text/javascript", YourCustomCompiler.class);
}
{code}

> Update Closure Compiler version
> -------------------------------
>
>                 Key: TAP5-2573
>                 URL: https://issues.apache.org/jira/browse/TAP5-2573
>             Project: Tapestry 5
>          Issue Type: Dependency upgrade
>          Components: tapestry-webresources
>    Affects Versions: 5.4.1
>            Reporter: MihkelJ
>            Priority: Minor
>             Fix For: 5.5.0
>
>
> tapestry-webresources includes closure compiler version v20131014. As of now, 
> the latest version is v20170124.
> The signature for {{CompilerOptions#setOutputCharset}} has changed from 
> accepting {{String}} to accepting {{Charset}}, which prevents upgrading the 
> dependency separately from tapestry-webresources.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to