Gradle

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Gradle is a Java-based build, automation and delivery tool.

Usage

Dependency tree

Packagers wanting to see the dependency tree of a package, e.g. v1.72 of dev-java/bcmail, use:

user $gradle dependencies | sed -n '/Classpath/,/^$/p'

For specific classpath, e.g. runtimeClasspath the command is:

user $gradle dependencies --configuration runtimeClasspath

In case the above commands give errors it's sometimes still possible to run gradlew

user $./gradlew dependencies

Further command line tasks

Command line tasks are explained on https://docs.gradle.org/current/userguide/command_line_interface.html#common_tasks

Availability

An ebuild is available in the mva-overlay ebuild repository.

Packages waiting for Gradle support

New packages for the tree which depend on Gradle are organized by the tracker ticket bug #777609

Related links

See also

External resources