Java bindings for the DbSpec language, for use with Tree Sitter NG.
You must have Zig installed in order to build this package.
Add dependencies to your build.gradle
or pom.xml
.
// Gradle
repositories {
mavenCentral()
maven {
name = "ImmortalVM"
url = uri("https://maven.pkg.github.com/immortalvm/tree-sitter-ng-dbspec")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
// Add tree sitter
implementation 'io.github.bonede:tree-sitter:0.22.5a'
// Add DbSpec parser
implementation("no.nr:tree-sitter-ng-dbspec:1.0-SNAPSHOT")
}
For pom.xml (Maven) see Working with the Apache Maven registry.