First commit.
This commit is contained in:
commit
644c712cc7
26 changed files with 1277 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.kotlin.*
|
||||
import net.thauvin.erik.kobalt.plugin.propertyfile.*
|
||||
|
||||
val bs = buildScript {
|
||||
plugins(file("../libs/kobalt-property-file-0.1.0.jar"))
|
||||
}
|
||||
|
||||
val p = project {
|
||||
name = "example"
|
||||
group = "com.example"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
|
||||
dependencies {
|
||||
// compile("com.beust:jcommander:1.68")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:6.11")
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
|
||||
propertyFile {
|
||||
file = "version.properties"
|
||||
}
|
||||
}
|
BIN
example/kobalt/wrapper/kobalt-wrapper.jar
Normal file
BIN
example/kobalt/wrapper/kobalt-wrapper.jar
Normal file
Binary file not shown.
1
example/kobalt/wrapper/kobalt-wrapper.properties
Normal file
1
example/kobalt/wrapper/kobalt-wrapper.properties
Normal file
|
@ -0,0 +1 @@
|
|||
kobalt.version=1.0.67
|
Loading…
Add table
Add a link
Reference in a new issue