Answer the question
In order to leave comments, you need to log in
Why does Koltlin import all classes from a local package?
I have a Kotlin project with this structure:
.
└── org
└── gradle
└── sample
├── JoinUtils.kt
├── LinkedList.kt
├── Main.kt
├── MessageUtils.kt
├── SplitUtils.kt
└── StringUtils.kt
package org.gradle.sample
fun main() {
val tokens = StringUtils.split(MessageUtils.getMessage())
println(StringUtils.join(tokens))
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question