diff --git a/home/index.html b/home/index.html index 0f06314..ffbfb99 100644 --- a/home/index.html +++ b/home/index.html @@ -172,6 +172,7 @@ Kobalt is currently in Beta but already used in several projects. Here are links
Both these directives create an object of type
+ A Kobalt project can have multiple languages in it (Kotlin and Java): just specify all the source
+ directories you need. For example, for a Note that source files must be in their respective directory (
Once you have at least one project configured, the plug-in lets you invoke the following tasks:
Project
.
@@ -85,6 +84,24 @@ A Project
has two mandatory attributes: name
and The dependencies for your tests
+
Mixed language projects
+javaProject
, add src/main/kotlin
as a
+ source directory:
+
+val p = javaProject(wrapper) {
+ name = "kobalt"
+ // ...
+ sourceDirectories {
+ path("src/main/java", "src/main/kotlin")
+ }
+}
+.java
in
+ src/main/java
and .kt
in src/main/kotlin
).
+Tasks