-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (49 loc) · 1.54 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
plugins {
id 'org.jetbrains.kotlin.multiplatform' version '1.4.31'
}
group = 'com.github.iv4xr-project'
version = '2.2'
repositories {
mavenLocal()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://repo.maven.apache.org/maven2" }
}
kotlin {
jvm {
withJava()
compilations.all {
kotlinOptions.jvmTarget = '1.8'
}
testRuns["test"].executionTask.configure {
useJUnit()
useJUnitPlatform()
}
}
sourceSets {
commonMain {
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmMain {
dependencies {
implementation 'com.github.iv4xr-project:aplib:v1.2.1'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
implementation "org.jetbrains.kotlin:kotlin-reflect:1.4.31"
}
}
jvmTest {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-test-junit5'
implementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.6.0'
implementation group: 'io.cucumber', name: 'cucumber-java', version: '6.10.0'
implementation group: 'io.cucumber', name: 'cucumber-junit', version: '6.10.0'
implementation "org.jetbrains.kotlin:kotlin-test-junit"
}
}
}
}