1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Fix directives.

This commit is contained in:
Cedric Beust 2016-02-13 18:03:17 -08:00
parent 2bfd7cc78e
commit 358647b1ec
2 changed files with 2 additions and 2 deletions

View file

@ -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") }
}

View file

@ -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") }
}