Gradle Module Metadata 1.0 ships with Gradle 5.3, introducing a richer JSON-based metadata format (.module files) designed to overcome the limitations of POM and Ivy files. It enables variant-aware dependency management, letting build tools distinguish between platform-specific binaries, different JDK targets, fat jars vs. thin jars, and mutually exclusive logging bindings. Consumers automatically benefit when libraries publish this metadata to Maven or Ivy repositories. Publishing is opt-in for now via the Maven Publish or Ivy Publish plugins, with automatic publishing planned for Gradle 6.0. Maven and Ant+Ivy consumers are unaffected, though the mapping from Gradle metadata to POM/Ivy is lossy. Early adopters include Kotlin Native and Google's Android build system.
Sort: