Skip to content

Kotlin multi platform: Could not resolve io.github.tree-sitter:ktreesitter #45

Open
@smyrgeorge

Description

@smyrgeorge

Hello!

I have the following build.gradle.kts file:

plugins {
    kotlin("multiplatform") version "2.0.0"
}

group = "io.github.smyrgeorge"
version = "0.1.0"

repositories {
    mavenCentral()
}

kotlin {
    macosArm64 { binaries { executable() } }
    applyDefaultHierarchyTemplate()
    sourceSets {
        val nativeMain by getting {
            dependencies {
                implementation("io.github.tree-sitter:ktreesitter:0.24.1")
            }
        }
    }
}

When I'm trying to build the project I'm getting the following error:

nativeMain: Could not resolve io.github.tree-sitter:ktreesitter:0.24.1.

Any idea why is this happening?
I saw that the project is built for KMP. But I think there is an issue with publishing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildRelated to building/publishing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions