Package org.gradle.jvm.platform

## Interface JavaPlatform

- All Superinterfaces:
    `Named`, `Platform`

      @Deprecated
      public interface JavaPlatform
      extends Platform

  Deprecated.
  Defines and configures a Java SE runtime environment, consisting of a JVM runtime and a set of class libraries.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `JavaVersion` | `getTargetCompatibility()` | Deprecated.
    `void` | `setTargetCompatibility​(JavaVersion targetCompatibility)` | Deprecated.

    - ### Methods inherited from interface org.gradle.platform.base.Platform

      `getDisplayName, getName`

- - ### Method Detail

    - #### getTargetCompatibility

          @Internal
          JavaVersion getTargetCompatibility()

      Deprecated.

    - #### setTargetCompatibility

          void setTargetCompatibility​(JavaVersion targetCompatibility)

      Deprecated.