mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
Add jdk.management.agent module on dev builds (#5115)
This commit is contained in:
parent
2023e3cfb7
commit
dd77eb0566
@ -95,9 +95,17 @@ object CommonSettings {
|
||||
}
|
||||
)
|
||||
|
||||
lazy val jlinkModules = Seq(
|
||||
"jdk.crypto.ec"
|
||||
)
|
||||
lazy val jlinkModules = {
|
||||
val base = Seq(
|
||||
"jdk.crypto.ec"
|
||||
)
|
||||
val dev = {
|
||||
//needed for visualvm to profile/debug apps
|
||||
Vector("jdk.management.agent")
|
||||
}
|
||||
if (!isCI) base ++ dev
|
||||
else base
|
||||
}
|
||||
|
||||
//these are java modules we do not need
|
||||
//our artifacts do not use java.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user