Skip to content

Java

languages.java.enable

Whether to enable tools for Java development.

Type: boolean

Default: false

Example: true

languages.java.gradle.enable

Whether to enable gradle.

Type: boolean

Default: false

Example: true

languages.java.gradle.package

The Gradle package to use. The Gradle package by default inherits the JDK from languages.java.jdk.package.

Type: package

Default: pkgs.gradle.override { java = cfg.jdk.package; }

languages.java.jdk.package

The JDK package to use. This will also become available as JAVA_HOME.

Type: package

Default: pkgs.jdk

Example: pkgs.jdk8

languages.java.maven.enable

Whether to enable maven.

Type: boolean

Default: false

Example: true

languages.java.maven.package

The Maven package to use. The Maven package by default inherits the JDK from languages.java.jdk.package.

Type: package

Default: pkgs.maven.override { jdk_headless = cfg.jdk.package; }