# Java beta

# Configuration - .deepsource.toml

This section covers configuration details specific to the Java analyzer. Please make sure that you have read the general configuration guide first.

The Java analyzer supports Gradle and Maven projects. There is no difference in configuration between them, and both types of projects can be initialized through the simple workflow of the DeepSource configuration generator.

# name

name = "java"

# enabled

enabled = true

# meta

  • Type: Table (opens new window)
  • Presence: mandatory
  • Description: Additional data used to configure the analyzer.
  • Example:
[analyzers.meta]
  runtime_version = "8"

# runtime_version

  • Type: String (opens new window)
  • Presence: mandatory
  • Description: The Java runtime version to use when running the analyzer. OpenJDK versions 8 to 15 are currently supported.
  • Aliases: java_version
  • Example:
[analyzers.meta]
  runtime_version = "13"

# Sample config

version = 1

[[analyzers]]
name = "java"
enabled = true

  [analyzers.meta]
  runtime_version = "8"
Last Updated: 4/17/2021, 6:00:13 AM