aboutsummaryrefslogtreecommitdiff
path: root/standalone/build.gradle.kts
blob: 53a306cd26ec25ad3d789354beb4fb5617c783a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
plugins {
    application
}

repositories {
    mavenCentral()
}

dependencies {
    implementation(files("$rootDir/ext/wolfcrypt-jni.jar"))
    implementation(project(":common"))
}

application {
    mainClass = "cz.crcs.ectester.standalone.ECTesterStandalone"
}

tasks.withType<JavaCompile> {
    options.compilerArgs.addAll(arrayOf(
            "--add-modules", "jdk.crypto.ec",
            "--add-exports", "jdk.crypto.ec/sun.security.ec=ALL-UNNAMED"
    ))
}