since i started getting annoyed at rrepeations i m...
# data2viz
n
since i started getting annoyed at rrepeations i made that..
Copy code
fun d2v(module: String, version: String? = Data2Viz.version): String =
    "${Data2Viz.group}:${module}" + (version?.let { ":$it" } ?: "")
as long as this is in
Copy code
package org.gradle.kotlin.dsl
in
buildSrc
it can be used like any other gradle kotlin dsl function without specific import required
l
Works the same if it's in root package 😉