Adding Fuzio to your Gradle project
This page describes how to configure a Gradle project to use Fuzio.
Fuzio version
The version property is a required property that determines the version of Fuzio. Here’s how you can configure the plugin to use the latest version of Fuzio:
fuzio {
version = "2026.1.0"
}
fuzio {
version = '2026.1.0'
}
The list of all available Fuzio versions you can find on the Release Notes page.
Repository
Fuzio artifacts are hosted in our own Maven repositories. We use our own repositories instead of Maven Central to speed up new version releases and ensure full control over the repository and its configuration.
The Fuzio repository is located in China. You can specify which Fuzio repository should be used by setting the repository property.
The following code snippet shows how to use our Fuzio repository:
repositories {
maven("https://jiku.mycloudrepo.io/public/repositories/releases")
}
repositories {
maven "https://jiku.mycloudrepo.io/public/repositories/releases"
}
If you prefer to store Fuzio artifacts in a custom Maven repository, then you can configure the plugin to use it as shown below:
repositories {
maven("https://my.custom.repository")
}
repositories {
maven 'https://my.custom.repository'
}
Dependencies
Fuzio is a cross-platform library that supports different operating systems, CPU architectures, and Java UI toolkits. It integrates with Chromium and deploys its binaries inside the JAR files. For each family of operating systems and CPU architecture, there is a separate Fuzio dependency with the required Chromium binaries.
The size of a dependency with the Chromium binaries may vary depending on the operating system and CPU architecture. It can be up to 110MB. So, it’s important to add only the required dependencies to your project.
Platform-specific
If you develop for a specific operating system and CPU architecture, then you can add one or more platform-specific dependencies to your project using the following code:
dependencies {
implementation("tech.fuzio:fuzio-win32:${fuzioVersion}") // Windows 32-bit
implementation("tech.fuzio:fuzio-win64:${fuzioVersion}") // Windows 64-bit
implementation("tech.fuzio:fuzio-win64-arm:${fuzioVersion}") // Windows 64-bit ARM
implementation("tech.fuzio:fuzio-mac:${fuzioVersion}") // Mac Intel
implementation("tech.fuzio:fuzio-mac-arm:${fuzioVersion}") // Mac Apple silicon
implementation("tech.fuzio:fuzio-linux64:${fuzioVersion}") // Linux 64-bit
implementation("tech.fuzio:fuzio-linux64-arm:${fuzioVersion}") // Linux 64-bit ARM
implementation("tech.fuzio:fuzio-linux64-loong:${fuzioVersion}") // Linux 64-bit Loong
}
dependencies {
implementation 'tech.fuzio:fuzio-win32:' + fuzioVersion // Windows 32-bit
implementation 'tech.fuzio:fuzio-win64:' + fuzioVersion // Windows 64-bit
implementation 'tech.fuzio:fuzio-win64-arm:' + fuzioVersion // Windows 64-bit ARM
implementation 'tech.fuzio:fuzio-mac:' + fuzioVersion // Mac Intel
implementation 'tech.fuzio:fuzio-mac-arm:' + fuzioVersion // Mac Apple silicon
implementation 'tech.fuzio:fuzio-linux64:' + fuzioVersion // Linux 64-bit
implementation 'tech.fuzio:fuzio-linux64-arm:' + fuzioVersion // Linux 64-bit ARM
implementation 'tech.fuzio:fuzio-linux64-loong:' + fuzioVersion // Linux 64-bit Loong
}
The list of supported operating systems and CPU architectures you can find in system requirements.
GUI toolkit
If you use Swing, JavaFX, SWT, or Compose Desktop UI-toolkit to build GUI of your app, then please add the corresponding Fuzio dependencies as well:
dependencies {
implementation("tech.fuzio:fuzio-swing:${fuzioVersion}")
implementation("tech.fuzio:fuzio-javafx:${fuzioVersion}")
implementation("tech.fuzio:fuzio-swt:${fuzioVersion}")
implementation("tech.fuzio:fuzio-compose:${fuzioVersion}")
}
dependencies {
implementation 'tech.fuzio:fuzio-swing:' + fuzioVersion
implementation 'tech.fuzio:fuzio-javafx:' + fuzioVersion
implementation 'tech.fuzio:fuzio-swt:' + fuzioVersion
implementation 'tech.fuzio:fuzio-compose:' + fuzioVersion
}
Kotlin DSL
If you develop using Kotlin, then we recommend that you to add Fuzio Kotlin DSL for the best experience.
dependencies {
implementation("tech.fuzio:fuzio-kotlin:${fuzioVersion}")
}
dependencies {
implementation 'tech.fuzio:fuzio-kotlin:' + fuzioVersion
}
Summary
Here is the complete code of build.gradle(.kts):
import tech.fuzio.gradle.Repository
plugins {
java
}
val fuzioVersion = "2026.1.0"
repositories {
// Use original Fuzio repository.
maven("https://jiku.mycloudrepo.io/public/repositories/releases")
// Alternatively, it may point to a custom repo via its URL, as follows:
maven("https://my.custom.repository")
}
dependencies {
implementation("tech.fuzio:fuzio-win32:${fuzioVersion}") // Windows 32-bit
implementation("tech.fuzio:fuzio-win64:${fuzioVersion}") // Windows 64-bit
implementation("tech.fuzio:fuzio-win64-arm:${fuzioVersion}") // Windows 64-bit ARM
implementation("tech.fuzio:fuzio-mac:${fuzioVersion}") // Mac Intel
implementation("tech.fuzio:fuzio-mac-arm:${fuzioVersion}") // Mac Apple silicon
implementation("tech.fuzio:fuzio-linux64:${fuzioVersion}") // Linux 64-bit
implementation("tech.fuzio:fuzio-linux64-arm:${fuzioVersion}") // Linux 64-bit ARM
implementation("tech.fuzio:fuzio-linux64-loong:${fuzioVersion}") // Linux 64-bit Loong
// Adds dependencies to the UI toolkit integrations.
implementation("tech.fuzio:fuzio-swing:${fuzioVersion}")
implementation("tech.fuzio:fuzio-javafx:${fuzioVersion}")
implementation("tech.fuzio:fuzio-swt:${fuzioVersion}")
implementation("tech.fuzio:fuzio-compose:${fuzioVersion}")
// Adds dependency to the Fuzio Kotlin DSL.
implementation("tech.fuzio:fuzio-kotlin:${fuzioVersion}")
}
import tech.fuzio.gradle.Repository
plugins {
java
}
fuzioVersion = '2026.1.0'
repositories {
maven {
// Use original Fuzio repository.
url = 'https://jiku.mycloudrepo.io/public/repositories/releases'
// Alternatively, it may point to a custom repo via its URL, as follows:
// url = 'https://my.custom.repository'
}
}
dependencies {
implementation 'tech.fuzio:fuzio-win32:' + fuzioVersion // Windows 32-bit
implementation 'tech.fuzio:fuzio-win64:' + fuzioVersion // Windows 64-bit
implementation 'tech.fuzio:fuzio-win64-arm:' + fuzioVersion // Windows 64-bit ARM
implementation 'tech.fuzio:fuzio-mac:' + fuzioVersion // Mac Intel
implementation 'tech.fuzio:fuzio-mac-arm:' + fuzioVersion // Mac Apple silicon
implementation 'tech.fuzio:fuzio-linux64:' + fuzioVersion // Linux 64-bit
implementation 'tech.fuzio:fuzio-linux64-arm:' + fuzioVersion // Linux 64-bit ARM
implementation 'tech.fuzio:fuzio-linux64-loong:' + fuzioVersion // Linux 64-bit Loong
// Adds dependencies to the UI toolkit integrations.
implementation 'tech.fuzio:fuzio-swing:' + fuzioVersion
implementation 'tech.fuzio:fuzio-javafx:' + fuzioVersion
implementation 'tech.fuzio:fuzio-swt:' + fuzioVersion
implementation 'tech.fuzio:fuzio-compose:' + fuzioVersion
// Adds dependency to the Fuzio Kotlin DSL.
implementation 'tech.fuzio:fuzio-kotlin:' + fuzioVersion
}

