-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
70 lines (59 loc) · 2.17 KB
/
build.gradle
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
buildscript {
ext {
arrowVersion = "0.9.0"
http4kVersion = "3.160.1"
kotlintestVersion = "3.3.3"
csvVersion = "1.5"
}
}
plugins {
id "java-gradle-plugin"
id "maven-publish"
id "com.gradle.plugin-publish" version "0.11.0"
id "org.jetbrains.kotlin.jvm" version "1.3.71"
}
repositories {
maven { url "https://dl.bintray.com/arrow-kt/arrow-kt/" }
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "io.arrow-kt:arrow-core-data:$arrowVersion"
implementation "io.arrow-kt:arrow-core-extensions:$arrowVersion"
implementation "io.arrow-kt:arrow-syntax:$arrowVersion"
implementation "io.arrow-kt:arrow-typeclasses:$arrowVersion"
implementation "io.arrow-kt:arrow-extras-data:$arrowVersion"
implementation "io.arrow-kt:arrow-extras-extensions:$arrowVersion"
implementation "io.arrow-kt:arrow-effects-data:$arrowVersion"
implementation "io.arrow-kt:arrow-effects-extensions:$arrowVersion"
implementation "io.arrow-kt:arrow-effects-io-extensions:$arrowVersion"
implementation "io.arrow-kt:arrow-generic:$arrowVersion"
implementation "org.http4k:http4k-core:$http4kVersion"
implementation "org.http4k:http4k-client-okhttp:$http4kVersion"
implementation "org.http4k:http4k-format-jackson:$http4kVersion"
implementation "org.apache.commons:commons-csv:$csvVersion"
testImplementation "io.kotlintest:kotlintest-runner-junit5:$kotlintestVersion"
testImplementation "io.kotlintest:kotlintest-assertions-arrow:$kotlintestVersion"
}
sourceSets {
main.java.srcDirs += "src/main/kotlin"
test.java.srcDirs += "src/test/kotlin"
}
test {
useJUnitPlatform()
}
task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier = "sources"
from sourceSets.main.allSource,
"build/generated/source/kapt/main",
"build/generated/source/kapt/debug",
"build/generated/source/kapt/release",
"build/generated/source/kaptKotlin/main",
"build/generated/source/kaptKotlin/debug",
"build/generated/source/kaptKotlin/release",
"build/tmp/kapt/main/kotlinGenerated"
}
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier = "javadoc"
from javadoc.destinationDir
}