# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="Jetty IO Utility"
HOMEPAGE="http://www.eclipse.org/jetty/"
SRC_URI="https://repo1.maven.org/maven2/org/eclipse/jetty/${PN}/${PV}/${P}-sources.jar"
LICENSE="EPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=virtual/jre-11"

DEPEND=">=virtual/jdk-11
	dev-java/slf4j-api
	dev-java/slf4j-log4j12
	"

JAVA_GENTOO_CLASSPATH="slf4j-api,slf4j-log4j12"

src_prepare(){
	rm module-info.java
	eapply_user
}
