JavaPlatformExtension (Gradle API 8.14.3)
Description: declaration: package: org.gradle.api.plugins, interface: JavaPlatformExtension

Package org.gradle.api.plugins

# Interface JavaPlatformExtension

public interface JavaPlatformExtension
The extension to configure a Java platform project.

Since:
  5.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `allowDependencies()`
  Allow dependencies to be declared.

- ## Method Details

  - ### allowDependencies

    void allowDependencies()
    Allow dependencies to be declared. By default, a platform will not allow dependencies, only constraints.