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

EAPI=8

KOTLIN_CORE_INCLUDE_RESOURCES="true"

inherit kotlin-core-deps

KEYWORDS="~amd64"

DEPEND="
	~dev-java/kotlin-annotations-jvm-${PV}:${SLOT}
	~dev-java/kotlin-core-compiler-common-${PV}:${SLOT}
	~dev-java/kotlin-core-compiler-common-jvm-${PV}:${SLOT}
	~dev-java/kotlin-core-descriptors-${PV}:${SLOT}
	~dev-java/kotlin-core-deserialization-${PV}:${SLOT}
	~dev-java/kotlin-core-deserialization-common-${PV}:${SLOT}
	~dev-java/kotlin-core-deserialization-common-jvm-${PV}:${SLOT}
	~dev-java/kotlin-core-metadata-${PV}:${SLOT}
	~dev-java/kotlin-core-metadata-jvm-${PV}:${SLOT}
	~dev-java/kotlin-core-util-runtime-${PV}:${SLOT}
	~dev-java/kotlin-stdlib-${PV}:${SLOT}
	dev-java/javax-inject:0
	dev-java/jetbrains-annotations:13
	>=dev-java/kotlin-protobuf-lite-2.6.1:0
"

JAVA_CLASSPATH_EXTRA="
	kotlin-annotations-jvm-${SLOT}
	kotlin-core-compiler-common-${SLOT}
	kotlin-core-compiler-common-jvm-${SLOT}
	kotlin-core-descriptors-${SLOT}
	kotlin-core-deserialization-${SLOT}
	kotlin-core-deserialization-common-${SLOT}
	kotlin-core-deserialization-common-jvm-${SLOT}
	kotlin-core-metadata-${SLOT}
	kotlin-core-metadata-jvm-${SLOT}
	kotlin-core-util-runtime-${SLOT}
	kotlin-stdlib-${SLOT}
	javax-inject
	jetbrains-annotations-13
	kotlin-protobuf-lite
"