Fix profiling-utils/compile

This commit is contained in:
Pavel Marek 2024-04-30 11:22:00 +02:00
parent 7b36ffefc5
commit edb1862013
2 changed files with 16 additions and 1 deletions

View File

@ -705,9 +705,12 @@ lazy val `akka-native` = project
lazy val `profiling-utils` = project
.in(file("lib/scala/profiling-utils"))
.enablePlugins(JPMSPlugin)
.configs(Test)
.settings(
frgaalJavaCompilerSetting,
compileOrder := CompileOrder.JavaThenScala,
javaModuleName := "org.enso.profiling",
version := "0.1",
libraryDependencies ++= Seq(
"org.netbeans.api" % "org-netbeans-modules-sampler" % netbeansApiVersion
@ -725,7 +728,17 @@ lazy val `profiling-utils` = project
exclude ("org.netbeans.api", "org-netbeans-api-annotations-common"),
"junit" % "junit" % junitVersion % Test,
"com.github.sbt" % "junit-interface" % junitIfVersion % Test
)
),
modulePath := {
JPMSUtils.filterModulesFromUpdate(
update.value,
Seq(
"org.netbeans.api" % "org-netbeans-modules-sampler" % netbeansApiVersion
),
streams.value.log,
shouldContainAll = true
)
}
)
lazy val `logging-utils` = project

View File

@ -1,4 +1,6 @@
module org.enso.profiling {
requires org.netbeans.modules.sampler.RELEASE180;
requires jdk.management;
exports org.enso.profiling.sampler;
exports org.enso.profiling.events;
}