ATTENTION: ONLY MAINTENANCE, NO FURTHER DEVELOPMENT
libsass has been declared deprecated and there will be no further development! This also ends the further development of jsass. It is not yet clear whether there will ever be an implementation based on the Sass embedded protocol. I recommend switching to Webpack or similar technologies! This project will continue to be maintained for the time being and compatibility with newer Java versions will be ensured. But please do not expect any further development on my part.
Java sass compiler
Feature complete java sass compiler using libsass version 3.6.4.
The most advantage of jsass is to hide the libsass complexity from the developer and provide a more java like way.
For complete documentation, see jsass.rtfd.org.
Example
There is a webapp example containing a servlet sample implementation, to illustrate the way you may integrate jsass into your webapp.
Changelog
You can find the changelog in our documentation at jsass.rtfd.org/en/latest/changelog.html
Third party projects
Third party projects using JSASS.
Merge requests for further projects are welcome :-)
Compatibility Overview
Compatibility | |
---|---|
not supported, jsass uses Java 8 features like streams and lambdas! | |
fully supported | |
fully supported and tested (gitlab ci) | |
Linux | |
not supported (since jsass 5.7.4 the 32bit support was been removed) | |
fully supported and tested (gitlab ci) | |
fully supported and tested (gitlab ci) | |
fully supported and tested (gitlab ci) | |
fully supported and tested (gitlab ci) | |
fully supported and tested (gitlab ci) | |
fully supported and tested (gitlab ci) | |
experimental, tests are failing (drone.io) | |
fully supported and tested (drone.io) | |
Windows | |
not supported | |
fully supported and tested (travis ci) | |
macOS | |
fully supported and tested (travis ci) | |
Others | |
not supported | |
not supported |
Testing Matrix
A matrix of all CI systems and jobs, used for testing.
OpenJDK 8 | OpenJDK 11 | OpenJDK 13 | |
---|---|---|---|
Gradle tasks you should know
gradle check
runs checkstyle, pmd, junit locally.
gradle runDockerTests
runs junit tests on all docker containers.
gradle buildNativeLibs
build the native libs, using our build docker container.
How to make a release
$ ./gradlew clean release
$ git checkout $(git describe --abbrev=0)
$ ./gradlew clean uploadArchives
Dont forget to release the artifact from staging repository!
License
MIT-License