summaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 06e8b9028a4441d6044daec952b8237cdb815185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
plugins {
	kotlin("multiplatform") version "1.5.21"
	//id("io.kotest.multiplatform") version "5.0.0.3"
}

repositories {
	mavenCentral()
	maven("https://oss.sonatype.org/content/repositories/snapshots")
}

val kotestVersion: String by project

kotlin {
	targets {
		js(IR) {
			nodejs { }
			browser { }
		}
	}
	sourceSets {
		val jsMain by getting {

		}
		val jsTest by getting {
			dependencies {
				implementation("io.kotest:kotest-assertions-core:4.6.1")
				implementation("io.kotest:kotest-framework-api:4.6.1")
				implementation("io.kotest:kotest-framework-engine:4.6.1")
			}
		}
	}
}