mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix directives.
This commit is contained in:
parent
2bfd7cc78e
commit
358647b1ec
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import com.beust.kobalt.app.BuildGenerator
|
|||
public class JavaBuildGenerator: BuildGenerator() {
|
||||
override val defaultSourceDirectories = hashSetOf("src/main/java")
|
||||
override val defaultTestDirectories = hashSetOf("src/test/java")
|
||||
override val directive = "javaProject"
|
||||
override val directive = "project"
|
||||
override val archetypeName = "java"
|
||||
override val fileMatch = { f: String -> f.endsWith(".java") }
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.beust.kobalt.app.BuildGenerator
|
|||
public class KotlinBuildGenerator : BuildGenerator() {
|
||||
override val defaultSourceDirectories = hashSetOf("src/main/kotlin")
|
||||
override val defaultTestDirectories = hashSetOf("src/test/kotlin")
|
||||
override val directive = "kotlinProject"
|
||||
override val directive = "project"
|
||||
override val archetypeName = "kotlin"
|
||||
override val fileMatch = { f: String -> f.endsWith(".kt") }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue