Initial commit
This commit is contained in:
commit
da9aad15e4
29 changed files with 1338 additions and 0 deletions
46
example/kobalt/src/Build.kt
Normal file
46
example/kobalt/src/Build.kt
Normal file
|
@ -0,0 +1,46 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import net.thauvin.erik.kobalt.plugin.pom2xml.*
|
||||
|
||||
// ./kobaltw pom2xml
|
||||
|
||||
val bs = buildScript {
|
||||
repos(localMaven())
|
||||
plugins("net.thauvin.erik:kobalt-pom2xml:0.1.0")
|
||||
}
|
||||
|
||||
val p = project {
|
||||
|
||||
name = "example"
|
||||
group = "com.example"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:jcommander:1.47")
|
||||
//compile("org.slf4j:slf4j-api:")
|
||||
compile("ch.qos.logback:logback-core:0.5")
|
||||
compile("ch.qos.logback:logback-classic:1.1.7")
|
||||
compile("commons-httpclient:commons-httpclient:3.1")
|
||||
compile("com.beust:kobalt-plugin-api:0.878")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:")
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
|
||||
pom2xml {
|
||||
// loc = "foo/bar"
|
||||
// filename = "pom-example.xml"
|
||||
}
|
||||
}
|
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.93
|
Loading…
Add table
Add a link
Reference in a new issue