-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathbuild.gradle
60 lines (57 loc) · 1.74 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
project.setDescription("This module contains the Kotlin API implemetantion code for building, training, and evaluating the Deep Learning models.")
apply plugin: 'kotlin-multiplatform'
apply plugin: 'com.android.library'
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = '1.8'
}
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
android {
publishLibraryVariants("release")
}
sourceSets {
commonMain {
dependencies {
api project(':api')
}
}
jvmMain {
dependencies {
api 'com.github.doyaaaaaken:kotlin-csv-jvm:0.7.3' // for csv parsing
api 'io.github.microutils:kotlin-logging:2.1.21' // for logging
api 'io.jhdf:jhdf:0.5.7' // for hdf5 parsing
api 'com.beust:klaxon:5.5'
implementation 'com.twelvemonkeys.imageio:imageio-jpeg:3.8.2'
}
}
jvmTest {
dependencies {
implementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
implementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
}
}
androidMain {
dependencies {
api 'androidx.camera:camera-core:1.0.0-rc03'
}
}
}
explicitApiWarning()
}
android {
compileSdkVersion 31
namespace = 'org.jetbrains.kotlinx.dl.impl'
defaultConfig {
minSdkVersion 24
targetSdkVersion 31
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}