Hi! I have an issue with a language plugin I am wr...
# plugin-development
m
Hi! I have an issue with a language plugin I am writing for the XTC language (xtclang.org)… I have a build aggregator and every subproject is an included build. Some of the builds compile the XTC language through a plugin and generate 1 or more artifacts of the type “<artifactId>.xtc” in the build directory tree. The problem is the dependencies. if one XTC project (e.g. “collections”) depends on the two artifacts in eg. “core”, and needs the on the classpath, I can’t figure out how to get the dependencies into the collections lib… Since I am piggybacking on Java Plugin, I can do implementation(core-module) in the “collections” library, which is the gradle included build way ,but I cannot manage to get it to find the artifacts from the dependent included build, whereas the java implementation dependency works fine, for instance… Is there an example? The core library project nicely puts my two “xtc” artifacts in several outgoing variants and configurations, and I have a special consumable configuration too with correct attributes for them, but I can’t for the life of me figure out how to get them into the consuming build as dependencies. I should just be able to add a dependency to the module in question and get them onto the compilerClasspath