-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
53 lines (47 loc) · 1.44 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
group = 'com.klinec'
version = '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.6.21'
ext.kotlin_coro_version = '1.6.1'
ext.ktor_version = '1.5.0'
ext.bouncycastle_version = '1.66'
ext.vertx_version = '3.9.0'
ext.apdu4j_version = '2020b1'
ext.apdu4j_pcsc_version = '20.08.12'
ext.gptool_version = '20.08.12'
ext.jcardsim_version = '3.0.5.11'
ext.klaxon_version = '5.6'
repositories {
google()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = '1.8'
// freeCompilerArgs += '-include-runtime'
// freeCompilerArgs += ["--add-modules", "java.smartcardio"]
// freeCompilerArgs += ["--add-modules", "javax.smartcardio"]
// freeCompilerArgs += ["--add-modules", "java.se.ee"]
}
}
tasks.withType(JavaCompile) {
sourceCompatibility = '1.8'
// options.compilerArgs += ["--add-modules", "java.smartcardio"]
// options.compilerArgs += ["--add-modules", "javax.smartcardio"]
// options.compilerArgs += ["--add-modules", "java.se.ee"]
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://javacard.pro/maven" }
maven { url "https://deadcode.me/mvn" }
}
ext {
jcardsim = 'com.klinec:jcardsim:3.0.5.11'
}
}