mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
New Publishing plugin task: "uploadGithub".
This commit is contained in:
parent
5a7d730ac5
commit
97a5f54c9a
3 changed files with 84 additions and 17 deletions
|
@ -12,7 +12,7 @@ import com.beust.kobalt.plugin.java.javaProject
|
|||
import com.beust.kobalt.plugin.kotlin.kotlinCompiler
|
||||
import com.beust.kobalt.plugin.kotlin.kotlinProject
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.plugin.publish.jcenter
|
||||
import com.beust.kobalt.plugin.publish.*
|
||||
import java.io.File
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Paths
|
||||
|
@ -109,6 +109,10 @@ val kobalt = kotlinProject(wrapper) {
|
|||
args("-nowarn")
|
||||
}
|
||||
|
||||
github {
|
||||
file("$buildDirectory/libs/$name-$version.zip", "$name/$version/$name-$version.zip")
|
||||
}
|
||||
|
||||
jcenter {
|
||||
publish = true
|
||||
file("$buildDirectory/libs/$name-$version.zip", "$name/$version/$name-$version.zip")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue