Skip to content

Installation

Kexcel is published to Maven Central under the coordinates com.gyanoba.kexcel:kexcel.

Maven Central

Add the dependency

Add Kexcel to your commonMain source set:

build.gradle.kts
kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("com.gyanoba.kexcel:kexcel:0.0.2")
        }
    }
}
build.gradle.kts
dependencies {
    implementation("com.gyanoba.kexcel:kexcel:0.0.2")
}
build.gradle
dependencies {
    implementation 'com.gyanoba.kexcel:kexcel:0.0.2'
}
gradle/libs.versions.toml
[versions]
kexcel = "0.0.2"

[libraries]
kexcel = { module = "com.gyanoba.kexcel:kexcel", version.ref = "kexcel" }
build.gradle.kts
dependencies {
    implementation(libs.kexcel)
}

Check for the latest version

Always prefer the version shown by the badge above — this page may lag behind the newest release.

Make sure Maven Central is a repository

Kexcel and its transitive dependencies all live on Maven Central, so it must be declared in your repositories:

settings.gradle.kts
dependencyResolutionManagement {
    repositories {
        mavenCentral()
        google() // if you also target Android
    }
}

Requirements

Requirement Value
Kotlin 2.0+ (the library is built with 2.3.x)
JVM / Android Java 17 bytecode; Android minSdk 23
iOS iosArm64, iosSimulatorArm64

Transitive dependencies

Kexcel pulls in a few pure-Kotlin libraries for you — you do not need to add them yourself:

Next step

Head to the Quick Start to build your first workbook.