Skip to content

Latest commit

 

History

History

clojure

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Demonstration of Skija APIs from Clojure.

Pre-requisite

  • JDK 11
  • Clojure 1.10.1
  • clojure command-line tool 1.10.1.727 or later

Configuring Skija dependency

Clojure example requires latest master build of Skija installed locally:

./script/install.sh

If you want to use pre-built Skija, in deps.edn replace org.jetbrains.skija/skija-native {:mvn/version "0.0.0-SNAPSHOT"} with one of:

Artifact ID mvn/version
skija-macos version
skija-linux version
skija-windows version

Running

From CLI run the below command:

Windows/Linux:

clj -M -m lwjgl.main

macOS:

clj -J-XstartOnFirstThread -M -m lwjgl.main