mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Update build.
This commit is contained in:
parent
5efd7a760a
commit
e4bf002fce
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,7 @@ import com.beust.kobalt.plugin.application.application
|
||||||
import com.beust.kobalt.plugin.java.javaCompiler
|
import com.beust.kobalt.plugin.java.javaCompiler
|
||||||
import com.beust.kobalt.plugin.kotlin.kotlinCompiler
|
import com.beust.kobalt.plugin.kotlin.kotlinCompiler
|
||||||
import com.beust.kobalt.plugin.packaging.assemble
|
import com.beust.kobalt.plugin.packaging.assemble
|
||||||
|
import com.beust.kobalt.plugin.publish.autoGitTag
|
||||||
import com.beust.kobalt.plugin.publish.bintray
|
import com.beust.kobalt.plugin.publish.bintray
|
||||||
import com.beust.kobalt.plugin.publish.github
|
import com.beust.kobalt.plugin.publish.github
|
||||||
import com.beust.kobalt.project
|
import com.beust.kobalt.project
|
||||||
|
@ -213,12 +214,15 @@ val kobaltApp = project(kobaltPluginApi, wrapper) {
|
||||||
|
|
||||||
github {
|
github {
|
||||||
file("$buildDirectory/libs/$name-$version.zip", "$name/$version/$name-$version.zip")
|
file("$buildDirectory/libs/$name-$version.zip", "$name/$version/$name-$version.zip")
|
||||||
autoGitTag = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
args("-log", "2", "src/test/resources/testng.xml")
|
args("-log", "2", "src/test/resources/testng.xml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
autoGitTag {
|
||||||
|
auto = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun readVersion() : String {
|
fun readVersion() : String {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue