aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-03-16 11:49:41 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-03-16 11:49:41 +0100
commit0b1bba57eee6e98d6b787e22f9ededf562214e90 (patch)
tree0b1cad9632ad7415343cef16a26c2d8108dd52af /eclass
parentdev-util/ghidra: switch to EGRADLE_BUNDLED_VER (diff)
downloadjava-0b1bba57eee6e98d6b787e22f9ededf562214e90.tar.gz
java-0b1bba57eee6e98d6b787e22f9ededf562214e90.tar.bz2
java-0b1bba57eee6e98d6b787e22f9ededf562214e90.zip
gradle.eclass: add more documentation
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gradle.eclass13
1 files 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 <java@gentoo.org>
# @AUTHOR:
# Florian Schmaus <flow@gentoo.org>
-# @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) ;;