The requested build setup type 'java-application' is not supported

(Scoop) #1

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/ undefined symbol: tgetent”.

(Sterling Greene) #2

I think you’re using a version of Gradle older than 3.3 (4.6 is the latest). Could you try upgrading?

(Scoop) #3

Turns out I was, I was using version 3.2.1 installed through my package manager. Thanks.