dev-java/error-prone-annotations: add 2.45.0

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44601
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki 2025-11-12 10:42:58 +01:00 committed by Miroslav Šulc
parent 71eecc3155
commit 5a985716f2
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C
2 changed files with 32 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST error-prone-2.42.0.tar.gz 2396047 BLAKE2B cd321ee3299c05af91db8a1a2ab980060042c880b9540490a31e64cba4c36db458eee81533def94f882a7b664e62abcfbabb8e9d383fd1bff42df40a1d082e67 SHA512 7ce7b197a03937c3369b36cd5a190868cea1d2168b43b884d32649ccb9f27f6a176a5dc0336b64b6030ce59ab5a2fd684b84780b7491b34b024e6345fc284022 DIST error-prone-2.42.0.tar.gz 2396047 BLAKE2B cd321ee3299c05af91db8a1a2ab980060042c880b9540490a31e64cba4c36db458eee81533def94f882a7b664e62abcfbabb8e9d383fd1bff42df40a1d082e67 SHA512 7ce7b197a03937c3369b36cd5a190868cea1d2168b43b884d32649ccb9f27f6a176a5dc0336b64b6030ce59ab5a2fd684b84780b7491b34b024e6345fc284022
DIST error-prone-2.45.0.tar.gz 2130702 BLAKE2B 79f705202b3e6f2ba9afc71444f8d4b1f259b5d56cb95a693b209d7734f7a36fcd49d52528eae9f606cede1596438a18d79f43eda11fe1c5df01133dbdcb49c0 SHA512 0a342ed6316a9a65bbf63bf9ed94f792236d5dfb768f1c00b5aed3f0d6f7ea79f2f74c37285bc420a21863e6c2c6c1d70a98451accd1cf21fa6c9cf290207369

View File

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source"
MAVEN_ID="com.google.errorprone:error_prone_annotations:${PV}"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java annotations for the Error Prone static analysis tool"
HOMEPAGE="https://errorprone.info"
SRC_URI="https://github.com/google/error-prone/archive/v${PV}.tar.gz -> error-prone-${PV}.tar.gz"
S="${WORKDIR}/error-prone-${PV}/annotations"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
DEPEND=">=virtual/jdk-11:*" # module-info
RDEPEND=">=virtual/jre-1.8:*"
JAVA_INTERMEDIATE_JAR_NAME="com.google.errorprone.annotations"
JAVA_RELEASE_SRC_DIRS=( ["9"]="src/main/java9" )
JAVA_SRC_DIR="src/main/java"
src_prepare() {
java-pkg-2_src_prepare
mkdir src/main/java9 || die
mv src/main/java{,9}/module-info.java || die
}