h

htmlcompressor

HtmlCompressor is a small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.
http://code.google.com/p/htmlcompressor/
Apache License 2.0
Sergiy Kovalchuk
Sergiy Kovalchuk
Files download
File Operation
htmlcompressor-1.5.2.jar download
htmlcompressor-1.5.2.pom download
htmlcompressor-1.5.2-sources.jar download
Apache Maven
<dependency>
  <groupId>com.googlecode.htmlcompressor</groupId>
  <artifactId>htmlcompressor</artifactId>
  <version>1.5.2</version>
</dependency>
Gradle Groovy
implementation 'com.googlecode.htmlcompressor:htmlcompressor:1.5.2'
Gradle Kotlin
implementation("com.googlecode.htmlcompressor:htmlcompressor:1.5.2")
Scala SBT
libraryDependencies += "com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2"
Groovy Grape
@Grapes(
  @Grab(group='com.googlecode.htmlcompressor', module='htmlcompressor', version='1.5.2')
)
Apache Ivy
<dependency org="com.googlecode.htmlcompressor" name="htmlcompressor" rev="1.5.2" />
Leiningen
[com.googlecode.htmlcompressor/htmlcompressor "1.5.2"]
Apache Buildr
'com.googlecode.htmlcompressor:htmlcompressor:jar:1.5.2'