I just installed gradle for the first time and started following the tutorial for building java-applications. When running “init --type java-application” I received the error
":init FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:init’.
The requested build setup type ‘java-application’ is not supported. Supported types: ‘basic’, ‘groovy-library’, ‘java-library’, ‘pom’, ‘scala-library’."
When I tried the command through terminal rather than the GUI’s command line, I instead received the error “java: symbol lookup error: /usr/lib/jni/libnative-platform-curses.so: undefined symbol: tgetent”.