-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.mill
More file actions
75 lines (58 loc) · 2.01 KB
/
Copy pathbuild.mill
File metadata and controls
75 lines (58 loc) · 2.01 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// this works for "klikr" the image browser
// install mill and then do:
// path_to_mill/mill run
//
// or produce an EXECUTABLE JAR with:
// path_to_mill/mill show assembly
// (show = will display the path to the JAR file)
package build
import mill._
import mill.javalib._
import mill.javalib.publish._
import mill.api.ModuleRef
import mill.{Module, T, _}
object `package` extends PublishModule with MavenModule {
def mainClass = Some("klikr.Klikr_application")
def artifactName = "klikr"
def javacOptions = Seq("-source", "25", "-target", "25")
def jvmWorker = ModuleRef(JvmWorkerGraalvm)
def compileMvnDeps = Seq(
mvn"com.google.code.gson:gson:2.13.1",
mvn"com.drewnoakes:metadata-extractor:2.19.0",
mvn"com.github.ben-manes.caffeine:caffeine:3.2.2",
mvn"commons-io:commons-io:2.19.0",
mvn"ar.com.hjg:pngj:2.1.0",
mvn"app.photofox.vips-ffm:vips-ffm-core:1.9.1"
)
def runMvnDeps = Seq(
mvn"com.google.code.gson:gson:2.13.1",
mvn"com.drewnoakes:metadata-extractor:2.19.0",
mvn"com.github.ben-manes.caffeine:caffeine:3.2.2",
mvn"commons-io:commons-io:2.19.0",
mvn"ar.com.hjg:pngj:2.1.0",
mvn"org.openjfx:javafx-base:24;classifier=mac-aarch64",
mvn"org.openjfx:javafx-graphics:24;classifier=mac-aarch64",
mvn"org.openjfx:javafx-controls:24;classifier=mac-aarch64",
mvn"org.openjfx:javafx-fxml:24;classifier=mac-aarch64",
//mvn"org.openjfx:javafx-swing:24;classifier=mac-aarch64",
mvn"org.openjfx:javafx-media:24;classifier=mac-aarch64",
mvn"org.openjfx:javafx-web:24;classifier=mac-aarch64"
)
def pomSettings = PomSettings(
"",
"philgent",
"",
Seq(),
VersionControl(None, None, None, None),
Seq()
)
def publishVersion = "1.0.290"
def nativeImageOptions = Seq(
"--no-fallback",
"-H:IncludeResourceBundles=net.sourceforge.argparse4j.internal.ArgumentParserImpl",
"-H:IncludeResources=src/main/resources/**/*"
)
object JvmWorkerGraalvm extends JvmWorkerModule {
def jvmId = "graalvm-community:24.0.2"
}
}