Notes: should run on linux based system considering the compatibility
gradle nativeCompile
Output:
build/native/
|-- generated
| `-- generateResourcesConfigFile
| `-- resource-config.json
`-- nativeCompile
|-- demo
`-- demo.build_artifacts.txt
gradle buildZip
Artifacts:
build/distributions/
`-- demo-0.0.1-SNAPSHOT.zip
curl https://service-2vj0sheq-1253970226.gz.apigw.tencentcs.com/release/greeting
Sample Output:
{"id":2,"content":"Hello, World!"}%