The Java8 template uses gradle as a build system.
Gradle version: 4.8.1
There are three projects which make up a single gradle build:
- model - (Library) classes for parsing request/response
- function - (Library) your function code as a developer, you will only ever see this folder
- entrypoint - (App) HTTP server for re-using the JVM between requests
The handler is written in the
Tests are supported with junit via files in
External dependencies can be specified in ./build.gradle in the normal way using jcenter, a local JAR or some other remote repository.