mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
38 lines
803 B
Groovy
38 lines
803 B
Groovy
// Example project to show how to use Atrium in combination with mocha
|
|
// For more information on how to setup Atrium for a JS project -> https://github.com/robstoll/atrium#js
|
|
|
|
buildscript {
|
|
ext {
|
|
// for infix-api -> change to 'atrium-infix-en_GB-js'
|
|
atrium_api = 'atrium-fluent-en_GB-js'
|
|
atrium_version = '0.15.0'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.jetbrains.kotlin.js' version '1.4.30'
|
|
}
|
|
|
|
group 'org.atriumlib.samples'
|
|
version '0.0.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
|
|
|
|
// setup for Atrium:
|
|
testImplementation("ch.tutteli.atrium:$atrium_api:$atrium_version")
|
|
|
|
// setup for mocha:
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-js"
|
|
}
|
|
|
|
kotlin {
|
|
js {
|
|
nodejs()
|
|
}
|
|
}
|