KamikazeJAM
04/04/2024, 8:35 PMKamikazeJAM
04/04/2024, 8:35 PMChris
04/04/2024, 8:45 PMChris
04/04/2024, 8:52 PMimplementation(project(':module-b')) {
attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling, Bundling.SHADOWED))
}
}
Something like that.Chris
04/04/2024, 8:53 PMKamikazeJAM
04/04/2024, 8:57 PMChris
04/04/2024, 9:20 PMimplementation(project(":module-b")) {
attributes {
attribute(BUNDLING_ATTRIBUTE, objects.named<Bundling>(SHADOWED))
}
}
Verified in a simple two module project that this works (Kotlin code this time)Vampire
04/04/2024, 10:12 PM<Bundling>, the type is inferred from the first argument already.KamikazeJAM
04/06/2024, 12:53 AMimplementation(yaml) I was able to resolve the correct MappingNode location, however the abstract class from module-b is giving errors when extended from module-a.KamikazeJAM
04/06/2024, 12:55 AMorg.yaml.snakeyaml.nodes.MappingNode when the only one available is com.kamikazejam.kamicommon.snakeyaml.nodes.MappingNodeKamikazeJAM
04/06/2024, 12:56 AMTest class from module-aKamikazeJAM
04/06/2024, 2:59 AMChris
04/06/2024, 7:29 PMTestProject.module-b.main dependency in the screen should not be there, and if if you look at the classpath being used by Gradle it only includes the shadowed jar.KamikazeJAM
04/07/2024, 12:36 AMKamikazeJAM
04/07/2024, 12:40 AMKamikazeJAM
04/07/2024, 1:13 AMbuild.gradle.ktsKamikazeJAM
04/07/2024, 3:02 AMVampire
04/07/2024, 9:22 AMidea-ext plugin to fix exactly that.KamikazeJAM
04/07/2024, 12:06 PMKamikazeJAM
04/07/2024, 12:08 PMVampire
04/07/2024, 2:00 PM