Skip to content
/ jsass Public
forked from tveimo/jsass

jsass with Apple Silicon support

License

Notifications You must be signed in to change notification settings

kasta-ua/jsass

 
 

Repository files navigation

pipeline status Build Status Build Status Scrutinizer Code Quality Code Coverage Known Vulnerabilities Documentation Status Javadoc Status

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
Java 7 not supported, jsass uses Java 8 features like streams and lambdas!
Java 8 fully supported
Java 11 fully supported and tested (gitlab ci)
Linux
CentOS 6 (i686) not supported (since jsass 5.7.4 the 32bit support was been removed)
CentOS 6 (x86_64) fully supported and tested (gitlab ci)
CentOS 7 (x86_64) fully supported and tested (gitlab ci)
ubuntu 16.04 (x86_64) fully supported and tested (gitlab ci)
ubuntu 18.04 (x86_64) fully supported and tested (gitlab ci)
Debian Stretch (x86_64) fully supported and tested (gitlab ci)
Debian Buster (x86_64) fully supported and tested (gitlab ci)
Debian Stretch (armhf32) experimental, tests are failing (drone.io)
Debian Stretch (aarch64) fully supported and tested (drone.io)
Windows
Windows 32bit not supported
Windows 64bit fully supported and tested (travis ci)
macOS
macOS fully supported and tested (travis ci)
Others
Solaris not supported
FreeBSD not supported

Testing Matrix

A matrix of all CI systems and jobs, used for testing.

OpenJDK 8 OpenJDK 11 OpenJDK 13
CentOS 6 (x86_64) Gitlab CI / test-centos6-openjdk8 Gitlab CI / test-centos6-openjdk8 Gitlab CI / test-centos6-openjdk8
CentOS 7 (x86_64) Gitlab CI / test-centos7-openjdk8 Gitlab CI / test-centos7-openjdk8 Gitlab CI / test-centos7-openjdk8
ubuntu 16.04 (x86_64) Gitlab CI / test-ubuntu16.04-openjdk8 Gitlab CI / test-ubuntu16.04-openjdk8 Gitlab CI / test-ubuntu16.04-openjdk8
ubuntu 18.04 (x86_64) Gitlab CI / test-ubuntu18.04-openjdk8 Gitlab CI / test-ubuntu18.04-openjdk8 Gitlab CI / test-ubuntu18.04-openjdk8
Debian Stretch (x86_64) Gitlab CI / test-debian-stretch-openjdk8 Gitlab CI / test-debian-stretch-openjdk8 Gitlab CI / test-debian-stretch-openjdk8
Debian Buster (x86_64) Gitlab CI / test-debian-buster-openjdk8 Gitlab CI / test-debian-buster-openjdk8 Gitlab CI / test-debian-buster-openjdk8
ARM (armhf32) Drone.io / test-arm-openjdk8 Drone.io / test-arm-openjdk8
ubuntu 16.04 (aarch64) Drone.io / test-arm64-openjdk8 Drone.io / test-arm64-openjdk8
Windows 64bit Travis CI / OS: Windows
macOS Travis CI / OS: macOS

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

Packages

No packages published

Languages

  • SCSS 51.5%
  • Java 33.3%
  • C 11.4%
  • Shell 1.6%
  • CMake 1.6%
  • Sass 0.3%
  • Other 0.3%