commit:     0b1bba57eee6e98d6b787e22f9ededf562214e90
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 10:49:41 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 10:49:41 2023 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=0b1bba57

gradle.eclass: add more documentation

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/gradle.eclass | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/eclass/gradle.eclass b/eclass/gradle.eclass
index e4087f7a..4a7cf440 100644
--- a/eclass/gradle.eclass
+++ b/eclass/gradle.eclass
@@ -6,10 +6,10 @@
 # Gentoo Java Project <[email protected]>
 # @AUTHOR:
 # Florian Schmaus <[email protected]>
-# @BLURB: utility functions for the gradle build system.
+# @BLURB: common ebuild functions for gradle-based packages.
 # @DESCRIPTION:
-# Utility functions for the gradle build system.
-# There are currently two approaches to using gradle in ebuilds. You can either
+# This eclass provides support for the gradle build system.  There
+# are currently two approaches to using gradle in ebuilds.  You can either
 # depend on a gradle system-wide installation from a gradle ebuild, typically
 # dev-java/gradle-bin, or, bundle gradle with the ebuild.
 #
@@ -33,6 +33,13 @@
 #     $(gradle_src_uri)
 # "
 # @CODE
+#
+# Afterwards, use egradle to invoke gradle.
+# @CODE
+# src_compile() {
+#     egradle build
+# }
+# @CODE
 
 case ${EAPI} in
        7|8) ;;

Reply via email to