Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/java:master commit in: eclass/
Date: Thu, 16 Mar 2023 10:49:49
Message-Id: 1678963781.0b1bba57eee6e98d6b787e22f9ededf562214e90.flow@gentoo
1 commit: 0b1bba57eee6e98d6b787e22f9ededf562214e90
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 16 10:49:41 2023 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 10:49:41 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=0b1bba57
7
8 gradle.eclass: add more documentation
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 eclass/gradle.eclass | 13 ++++++++++---
13 1 file changed, 10 insertions(+), 3 deletions(-)
14
15 diff --git a/eclass/gradle.eclass b/eclass/gradle.eclass
16 index e4087f7a..4a7cf440 100644
17 --- a/eclass/gradle.eclass
18 +++ b/eclass/gradle.eclass
19 @@ -6,10 +6,10 @@
20 # Gentoo Java Project <java@g.o>
21 # @AUTHOR:
22 # Florian Schmaus <flow@g.o>
23 -# @BLURB: utility functions for the gradle build system.
24 +# @BLURB: common ebuild functions for gradle-based packages.
25 # @DESCRIPTION:
26 -# Utility functions for the gradle build system.
27 -# There are currently two approaches to using gradle in ebuilds. You can either
28 +# This eclass provides support for the gradle build system. There
29 +# are currently two approaches to using gradle in ebuilds. You can either
30 # depend on a gradle system-wide installation from a gradle ebuild, typically
31 # dev-java/gradle-bin, or, bundle gradle with the ebuild.
32 #
33 @@ -33,6 +33,13 @@
34 # $(gradle_src_uri)
35 # "
36 # @CODE
37 +#
38 +# Afterwards, use egradle to invoke gradle.
39 +# @CODE
40 +# src_compile() {
41 +# egradle build
42 +# }
43 +# @CODE
44
45 case ${EAPI} in
46 7|8) ;;