-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
76 lines (68 loc) · 1.81 KB
/
build.gradle
File metadata and controls
76 lines (68 loc) · 1.81 KB
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
71
72
73
74
75
76
plugins {
id "java"
id "maven-publish"
id "org.jetbrains.kotlin.jvm" version "1.7.10"
id "org.jetbrains.kotlinx.kover" version "0.5.1"
id "org.jetbrains.kotlinx.benchmark" version "0.4.4"
}
repositories {
mavenCentral()
}
sourceSets {
benchmarks {
kotlin.srcDirs = ["benchmarks"]
}
}
dependencies {
implementation 'org.clojure:clojure:1.11.1'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.10'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'net.jqwik:jqwik:1.6.5'
testImplementation 'net.jqwik:jqwik-kotlin:1.6.5'
benchmarksImplementation \
sourceSets.main.output + sourceSets.main.runtimeClasspath
benchmarksImplementation \
'org.jetbrains.kotlinx:kotlinx-benchmark-runtime:0.4.4'
benchmarksImplementation "io.vavr:vavr:0.10.4"
}
test {
useJUnitPlatform()
finalizedBy koverReport
testLogging {
showStandardStreams = true
exceptionFormat = "full"
}
}
compileJava.sourceCompatibility = "11"
compileJava.targetCompatibility = "11"
compileKotlin.kotlinOptions.jvmTarget = "11"
publishing {
publications {
maven(MavenPublication) {
groupId = "net.akrain"
artifactId = "fdmap"
version = "1.0.0-SNAPSHOT"
from components.java
}
}
}
benchmark {
configurations {
main {
mode = "avgt"
advanced("jvmForks", 3)
include("Random")
}
fast {
mode = "avgt"
iterationTime = 1000
iterationTimeUnit = "ms"
include("Random")
}
}
targets {
register("benchmarks")
}
}