Jar examples for y:yuicompressor
The YUI Compressor is a JavaScript compressor which, in addition to removing comments and white-spaces, obfuscates local variables using the smallest possible variable name. This obfuscation is safe, even when using constructs such as 'eval' or 'with' (although the compression is not optimal is those cases) Compared to jsmin, the average savings is around 20%.
You can download jar file yuicompressor 2.4.2 in this page.
BSD License
You can use the following script to add yuicompressor-2.4.2.jar to your project.
<dependency> <groupId>com.yahoo.platform.yui</groupId> <artifactId>yuicompressor</artifactId> <version>2.4.2</version> </dependency>
compile group: 'com.yahoo.platform.yui', name: 'yuicompressor', version: '2.4.2'
libraryDependencies += "com.yahoo.platform.yui" % "yuicompressor" % "2.4.2"
<dependency org="com.yahoo.platform.yui" name="yuicompressor" rev="2.4.2"/>
@Grapes(@Grab(group='com.yahoo.platform.yui', module='yuicompressor', version='2.4.2'))
'com.yahoo.platform.yui:yuicompressor:jar:2.4.2'
Click the following link to download the jar file.
yuicompressor-2.4.2.jar