-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (41 loc) · 1.14 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
buildscript {
ext.kotlin_version = '1.2.30'
ext.kotlin_coroutine_version = '0.22.5'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.erizo.gradle:jcstress-gradle-plugin:0.8.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'iimetra.example.concurrent'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: 'jcstress'
repositories {
mavenCentral()
}
dependencies {
compile "org.openjdk.jcstress:jcstress-core:0.4"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$kotlin_coroutine_version"
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
testCompile 'junit:junit:4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jcstress {
jcstressDependency 'org.openjdk.jcstress:jcstress-core:0.4'
}
kotlin {
experimental {
coroutines "enable"
}
}