File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.github.hierynomus.license' version ' 0.16.1' apply false
3+ id ' org.beryx.jlink' version ' 3.1.4-rc' apply false
34}
45
56// Projects to be published with maven-publish
Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
33 id ' application'
4+ id ' org.beryx.jlink' version ' 3.1.4-rc'
45}
56
67ext. moduleName = ' org.bitcoinj.secp.examples'
@@ -41,6 +42,13 @@ configurations {
4142 nativeToolRuntimeOnly. extendsFrom runtimeOnly
4243}
4344
45+ jlink {
46+ options = [' --add-modules' , ' org.bitcoinj.secp.ffm' ]
47+ launcher {
48+ name = application. applicationName
49+ }
50+ }
51+
4452tasks. register(' runEcdsa' , JavaExec ) {
4553 javaLauncher = javaToolchains. launcherFor {
4654 languageVersion = JavaLanguageVersion . of(javaToolchainVersion)
You can’t perform that action at this time.
0 commit comments