Hello again! ~I've tried to make our convention p...
# community-support
m
Hello again! I've tried to make our convention plugins "easier" to use by providing type-safe accessors similar to how some of the core plugins such as
kotlin
has theirs. I did this by defining an extensionfunction in our buildsrc directory like this
Copy code
val PluginDependenciesSpecScope.`custom-convetion`
    get() = this.id("one.company.gradle.custom.convention")
However, when I do this I get the following error: `Unresolved reference: `custom-convention`` I haven't really found any resources online wether this should be possible but the implementation was based on how gradle does it for plugins such as
kotlin
.
Realised that there was some generated accessors so I didn't need to make one myself 🙂