Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aesteve/quarkus-scala-gradle
Simple project showing Quarkus working with Scala and Gradle
https://github.com/aesteve/quarkus-scala-gradle
gradle quarkus scala
Last synced: 3 months ago
JSON representation
Simple project showing Quarkus working with Scala and Gradle
- Host: GitHub
- URL: https://github.com/aesteve/quarkus-scala-gradle
- Owner: aesteve
- Created: 2019-09-26T10:29:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T12:14:50.000Z (over 5 years ago)
- Last Synced: 2024-10-03T17:45:03.728Z (3 months ago)
- Topics: gradle, quarkus, scala
- Language: Kotlin
- Size: 52.7 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building Quarkus applications in Scala, with Gradle
## Dev mode
```bash
gradle quarkusDev
```Open [localhost](http://localhost:8080/greetings/hello)
## Native Image build (local)
### Setup GraalVM
```bash
sdk install java 19.2.0.1-grl
sdk use java 19.2.0.1-grl
gu install native-image
export GRAALVM_HOME=~/.sdkman/candidates/java/19.2.0.1-grl/
```### Build with Gradle
```
gradle buildNative --stacktrace
```(Don't forget `--stacktrace` to diagnose potential PATH issues or GraalVM version issues)
Current error (Mac OS, GraalVM 19.2.0.1):
```
Undefined symbols for architecture x86_64:
"_crc32", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_deflate", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_deflateEnd", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_deflateInit2_", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_deflateParams", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_deflateReset", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_inflate", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_inflateEnd", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_inflateInit2_", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
"_inflateReset", referenced from:
___svm_cglobaldata_base in quarkus-scala-gradle-0.0.1-SNAPSHOT-runner.o
ld: symbol(s) not found for architecture x86_64
```## Native image build (Docker)
```
docker build .
```