Update to the latest API.
This commit is contained in:
parent
bce3a32575
commit
4da1358260
6 changed files with 7 additions and 3 deletions
|
@ -4,7 +4,7 @@ import com.beust.kobalt.repos
|
|||
|
||||
val repos = repos()
|
||||
|
||||
val dev = true
|
||||
val dev = false
|
||||
val kobaltDependency = if (dev) "kobalt" else "kobalt-plugin-api"
|
||||
|
||||
val p = project {
|
||||
|
@ -23,7 +23,7 @@ val p = project {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:$kobaltDependency:0.725")
|
||||
compile("com.beust:$kobaltDependency:0.842")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
|
|
BIN
kobalt/wrapper/kobalt-wrapper.jar
Normal file
BIN
kobalt/wrapper/kobalt-wrapper.jar
Normal file
Binary file not shown.
1
kobaltw
Normal file
1
kobaltw
Normal file
|
@ -0,0 +1 @@
|
|||
java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*
|
|
@ -39,12 +39,14 @@ import com.beust.kobalt.misc.log
|
|||
|
||||
class ExecPlugin : BasePlugin(), ITaskContributor {
|
||||
|
||||
/*
|
||||
fun main(argv: Array<String>) {
|
||||
com.beust.kobalt.main(argv)
|
||||
}
|
||||
*/
|
||||
|
||||
// ITaskContributor
|
||||
override fun tasksFor(context: KobaltContext): List<DynamicTask> {
|
||||
override fun tasksFor(project: Project, context: KobaltContext): List<DynamicTask> {
|
||||
return emptyList()
|
||||
}
|
||||
|
||||
|
|
BIN
wrapper/kobalt-wrapper.jar
Normal file
BIN
wrapper/kobalt-wrapper.jar
Normal file
Binary file not shown.
1
wrapper/kobalt-wrapper.properties
Normal file
1
wrapper/kobalt-wrapper.properties
Normal file
|
@ -0,0 +1 @@
|
|||
kobalt.version=0.843
|
Loading…
Add table
Add a link
Reference in a new issue