Soner Cirit
04/11/2020, 2:05 AMplugins {
kotlin("multiplatform") version "1.3.71"
kotlin("kapt") version "1.3.71"
}
val arrowVersion = "0.10.4"
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
jcenter()
maven { url = uri("<https://dl.bintray.com/arrow-kt/arrow-kt/>") }
maven { url = uri("<https://oss.jfrog.org/artifactory/oss-snapshot-local/>") } // for SNAPSHOT builds
}
kotlin {
/* Targets configuration omitted.
* To find out how to configure the targets, please follow the link:
* <https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets> */
js()
sourceSets {
val commonMain by getting {
dependencies {
implementation(kotlin("stdlib-common"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
}
}
dependencies {
compile("io.arrow-kt:arrow-fx:$arrowVersion")
compile("io.arrow-kt:arrow-optics:$arrowVersion")
compile("io.arrow-kt:arrow-syntax:$arrowVersion")
kapt("io.arrow-kt:arrow-meta:$arrowVersion")
}