Using the interface `HasConvention` seems ugly giv...
# gradle
j
Using the interface
HasConvention
seems ugly given that there's a javadoc on it that says that its not going to stick around: https://github.com/JLLeitschuh/ktlint-gradle/blob/master/src/main/kotlin/org/jlleitschuh/gradle/ktlint/KtLintPlugin.kt#L37-L40 However, the GSK build uses the same thing; https://github.com/gradle/gradle-script-kotlin/blob/master/build.gradle.kts#L115-L117 I'm assuming if there was a better way you'd be doing it. Is there a way that plugins are supposed to consume the kotlin plugin's source set?
Copy code
/**
 * Demarcates objects that expose a convention.
 *
 * Convention objects aren't going to be around forever, so this is a temporary interface.
 */
public interface HasConvention {
2 replies Wouldn't it be better if it were under something like
KotlinConvention
much like there is
JavaConvention
?