eygraber
11/08/2022, 8:52 PMCan't create custom metadata compilations by name
. I'm doing:
kotlin {
targets {
getByName("metadata") {
compilations.create("testUtils")
}
}
}
I'm trying to do this because I have a commonTest
sourceSet that has a mix of tests and utils in it. I also have a custom jvm compliation for benchmarks that relies on the utils in commonTest
. I can't add commonTest
output classfiles as a dependency because then it brings in the common tests, which I do not want.
Any ideas other than creating separate modules for all of these things?eygraber
11/08/2022, 10:05 PM