Skip to content

RTAkland/kzlib

Repository files navigation

KZlib

Zlib for Kotlin Multiplatform project

It supports the following targets:

  • jvm(1.8)
  • mingwX64
  • linuxX64
  • linuxArm64
  • macosX64
  • macosArm64
  • watchosArm32
  • watchosArm64
  • watchosDeviceArm64
  • watchosSimulatorArm64
  • watchosX64
  • tvosArm64
  • tvosSimulatorArm64
  • tvosX64
  • iosArm64
  • iosSimulatorArm64
  • iosX64

Requirements

  • Kotlin > 2.1.20 (maybe earlier version can also work, but I have not test it.)

Add dependencies

repositories {
    // Add the repository
    maven("https://repo.maven.rtast.cn/releases/")
}

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("cn.rtast.kzlib:kzlib:<version>")
        }
    }
}

The latest version of kzlib can be found at https://next.pkg.rtast.cn/#/releases/cn/rtast/kzlib/kzlib

Licenses

  • This project is open source under Apache-2.0 license, that is:
    • You can directly use the functions provided by this project without any authorization
    • You can distribute, modify and derive the source code at will under the condition of indicating the source copyright information

Special thanks

JetBrainsIcon

JetBrains Open Source provided the powerful IDE support

中文版本

这是一个在Kotlin multiplatform 工作的zlib库

并且支持以下平台

  • jvm(1.8)
  • mingwX64
  • linuxX64
  • linuxArm64
  • macosX64
  • macosArm64
  • watchosArm32
  • watchosArm64
  • watchosDeviceArm64
  • watchosSimulatorArm64
  • watchosX64
  • tvosArm64
  • tvosSimulatorArm64
  • tvosX64
  • iosArm64
  • iosSimulatorArm64
  • iosX64

要求

  • Kotlin 版本大于等于2.1.20(更低的版本可能也行, 我没测试)

添加依赖

repositories {
    // 添加maven仓库
    maven("https://repo.maven.rtast.cn/releases/")
}

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("cn.rtast.kzlib:kzlib:<version>")
        }
    }
}

最新版本可以在这里找到 https://next.pkg.rtast.cn/#/releases/cn/rtast/kzlib/kzlib

开源

  • 本项目以Apache-2.0许可开源, 即:
    • 你可以直接使用该项目提供的功能, 无需任何授权
    • 你可以在注明来源版权信息的情况下对源代码进行任意分发和修改以及衍生

鸣谢

JetBrainsIcon

JetBrains Open Source 提供的强大IDE支持

About

zlib for kotlin multiplatform

Topics

Resources

License

Stars

Watchers

Forks

Languages