Initial commit.
This commit is contained in:
commit
bce3a32575
25 changed files with 593 additions and 0 deletions
37
example/kobalt/src/Build.kt
Normal file
37
example/kobalt/src/Build.kt
Normal file
|
@ -0,0 +1,37 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
//import net.thauvin.erik.kobalt.plugin.exec.*
|
||||
|
||||
val p = project {
|
||||
|
||||
name = "example"
|
||||
group = "com.example"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
|
||||
sourceDirectories {
|
||||
path("src/main/java")
|
||||
}
|
||||
|
||||
sourceDirectoriesTest {
|
||||
path("src/test/java")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(file("../libs/kobalt-exec-0.1.jar"))
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.Main"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue