Trellis
A Kotlin implementation of the Specification Pattern
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.