Hi, I'm curious, does Amper take into account grad...
# amper
r
Hi, I'm curious, does Amper take into account gradle interop when referencing other configuration?
Copy code
/conventionPlugins
  module.yaml
  build.gradle.kts
/shared
  module.yaml
let's say I have this inside
shared/module.yaml
Copy code
apply:
  - ..conventionsPlugins/module.yaml
will it work?
z
I haven't tried this, but I'm 99% sure that it's only the contents of the YAML template file that get merged in.
For sharing Gradle configuration between modules, I think the go-to way is still to create a convention plugin that contains the config and then apply it in the modules where you want it
👍 1
thank you color 1
j
Yes, Gradle interop is independent of Amper templates. So you would have to use convention plugins to share config between Gradle build files, and Amper templates to share config between Amper files
👍 1
gratitude thank you 1