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.
Platform |
---|
Android |
JVM |
iOS |
JS |
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}}")
}
}
}
}
See the website for detailed documentation and usage instructions.
Trellis is licensed under the BSD 3-Clause License, see LICENSE.md.