just to confirm. Standalone Amper 0.5.0 is not yet...
# amper
j
just to confirm. Standalone Amper 0.5.0 is not yet building deployable app (like
./gradlew installDist
does), right? That's still on todo list?
j
Correct. JVM apps can be run with
./amper run
and you can build the jar with
./amper build
, but there is currently no built-in way to create a fat jar or a distribution zip/directory with `bin`/`lib` etc.
j
🙇 thanks for confirmation!
j
By the way, could you please describe your use case a little bit? Is it a CLI app, or a server, or something else?
j
I'm playing with compose jetpack atm, so that's local run anyway.
./amper run
is good enough :)
j
Do you mean Compose Desktop (Multiplatform / JVM)? Or the actual JetPack Compose for Android?
j
just trying to learn some desktop UI and figured out that I might try amper again along the way.
Copy code
product: jvm/app

dependencies:
  - $compose.desktop.currentOs
  - "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose:2.8.4"

settings:
  compose: enabled
BTW, the 0.5.0 is much faster than the 0.4.0 I tried last time, and somehow nicer to use. IntelliJ plugin works nice as well. 👍
❤️ 1
j
Thanks for sharing! And good to hear 🙂
j
I'll share if I have any valuable feedback 🙂
🙏 1
j
Thanks a lot! Any feedback is valuable 😉
d
As I just stumbled over the same issue, I hope it is okay to throw in a bit of feedback myself: I am working on a library for a network protocol and wanted to distrobute it as a jar. The ampere setup looks so much nicer, cleaner and better than gradle. Looking forward to test out future versions of ampere. 🙂
❤️ 2
j
Thanks we appreciate the feedback! ☺️
By the way, the library jar case is a bit different from the application distribution use case we were talking about in this thread. We already have some undocumented facilities to build library jars, but only for JVM (not multiplatform at the moment). This is also planned, though. Please stay tuned!
d
Oh? './ampere build' does not produce a jar. I have to dig into the source and finde the undocumented feature to test it… 😛
👀 1