Skip to content

copper-leaf/trellis

Repository files navigation

Trellis

A Kotlin implementation of the Specification Pattern

GitHub release (latest by date) Maven Central Kotlin Version

Trellis is an implementation of the Specification Pattern written in Kotlin, and designed for asynchronous evaluation of specifications using Kotlin coroutines and dynamic creation and evaluation.

Supported Platforms/Features

Platform
Android
JVM
iOS
JS

Installation

repositories {
    mavenCentral()
}

// for plain JVM or Android projects
dependencies {
    implementation("io.github.copper-leaf:trellis-core:{{site.version}}")
    implementation("io.github.copper-leaf:trellis-dsl:{{site.version}}")
}

// for multiplatform projects
kotlin {
    sourceSets {
        val commonMain by getting {
            dependencies {
                implementation("io.github.copper-leaf:trellis-core:{{site.version}}")
                implementation("io.github.copper-leaf:trellis-dsl:{{site.version}}")
            }
        }
    }
}

Documentation

See the website for detailed documentation and usage instructions.

License

Trellis is licensed under the BSD 3-Clause License, see LICENSE.md.

References