Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Commit 4dec504

Browse files
Adding launch4j to create an exe
1 parent e1b2bbf commit 4dec504

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ version = "0.1.0"
1010
plugins {
1111
// Apply the application plugin to add support for building a CLI application in Java.
1212
application
13+
id("java")
14+
id("edu.sc.seis.launch4j") version "3.0.6"
1315
}
1416

1517
repositories {
@@ -41,6 +43,14 @@ java {
4143
// standardInput = System.`in`
4244
// }
4345

46+
launch4j {
47+
outfile = "epm.exe"
48+
mainClassName = "com.raphaeltannous.App"
49+
50+
icon = "${projectDir}/epm.ico"
51+
productName = "Encrypted Password Manager"
52+
}
53+
4454
application {
4555
// Define the main class for the application.
4656
mainClass = "com.raphaeltannous.App"
1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)