aboutsummaryrefslogtreecommitdiff
path: root/standalone/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/build.gradle.kts')
-rw-r--r--standalone/build.gradle.kts23
1 files changed, 23 insertions, 0 deletions
diff --git a/standalone/build.gradle.kts b/standalone/build.gradle.kts
new file mode 100644
index 0000000..53a306c
--- /dev/null
+++ b/standalone/build.gradle.kts
@@ -0,0 +1,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"
+ ))
+} \ No newline at end of file