kotlin dsl: project subpackage naming conventions

As part of the kotlin conversion, the projects each have subpackages `buildTypes` and `vcsRoots`. 

I was inclined to name the the vcs roots and builds the same using package scoping the project file

packages svc

import svc.vcsRoots
import svc.buildTypes

object Project : Project({
vcsRoot(vcsRoots.NodeMicroservice)
vcsRoot.vssRoots.AlertsRmb)
...
buildType(buildTypes.NodeMicroservice)
buildType(AlertsRmb)
...

But it seems kotlin does not support importing package names.

So what is a good naming convention here? Do I have to add a "type" prefix/postfix to the vcs root and build type classes? Is there some cleaner way to use kotlin? (FYI I'm coming from java and scala, new to kotlin)

0

Please sign in to leave a comment.