This message was deleted.
s
This message was deleted.
m
I wrote a little Scale Pulumi program with sbt: I use sbt:
1.8.0
and Scala
3.2.1
and everything gets deployed. https://github.com/dirien/pulumi-scala-minecraft
👀 1
h
Thanks @many-telephone-49025, I got it working off of your template. However, I wasn't able to get it to work as soon as I introduce sbt sub-projects. Anyone have advice on making pulumi work with sbt-subprojects within the same repo (the code isn't at the root level
repoRoot/src/...
but rather in a nested directory
repoRoot/sub-project-folder/src
.
It complains about compilation (false) errors. In sbt console and in IntelliJ I'm able to verify the code compiles fine. For example when using
sbt
sub-projects
Copy code
Diagnostics:
  pulumi:pulumi:Stack (infra-dev):
    [info] welcome to sbt 1.8.2 (Homebrew Java 19.0.2)
    [info] loading global plugins from...
.../src/main/scala/com/.../App.scala:53:85: ')' expected but ';' found.
    [error]           <http://ctx.log.info|ctx.log.info>(s"test: ${res.version()}");
    [error]