- JDK 17+
- Maven 3.9+
- Windows: Visual Studio 2019+ or C++ Build Tools
compile.bat
mvn clean packageThe build script compiles the native C++ library (build/fasttheme.dll) and Maven packages it into the root of the JAR under native/fasttheme.dll.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>FastTheme</artifactId>
<version>0.1.6</version>
</dependency>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:FastTheme:0.1.6'
implementation 'com.github.andrestubbe:fastcore:0.1.0'
}See Releases Page
If you get UnsatisfiedLinkError, ensure that FastCore is present on the classpath, as it automatically extracts and loads the embedded native/fasttheme.dll at runtime.