First commit.
This commit is contained in:
commit
99250cc9cb
16 changed files with 201 additions and 0 deletions
47
kobalt/src/Build.kt
Normal file
47
kobalt/src/Build.kt
Normal file
|
@ -0,0 +1,47 @@
|
|||
|
||||
import com.beust.kobalt.buildScript
|
||||
import com.beust.kobalt.plugin.application.application
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.project
|
||||
|
||||
val bs = buildScript {
|
||||
repos()
|
||||
}
|
||||
|
||||
|
||||
val p = project {
|
||||
|
||||
name = "fatjar"
|
||||
group = "com.example"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
|
||||
sourceDirectories {
|
||||
path("src/main/kotlin")
|
||||
}
|
||||
|
||||
sourceDirectoriesTest {
|
||||
path("src/test/kotlin")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile("org.apache.commons:commons-compress:1.13")
|
||||
compile("commons-io:commons-io:2.5")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:6.11")
|
||||
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue