mirror of
https://github.com/ethauvin/kobalt-line-count.git
synced 2025-04-25 03:07:11 -07:00
Upgrade to 0.154.
This commit is contained in:
parent
34dcabbeb9
commit
72d27ac7d4
7 changed files with 34 additions and 16 deletions
18
Build.kt
18
Build.kt
|
@ -1,24 +1,36 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.kotlin.*
|
||||
import com.beust.kobalt.plugin.publish.*
|
||||
|
||||
|
||||
val repos = repos("https://dl.bintray.com/cbeust/maven/")
|
||||
|
||||
val plugins = plugins(
|
||||
"com.beust.kobalt:kobalt-line-count:0.8"
|
||||
// file("/Users/beust/kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.6.jar")
|
||||
)
|
||||
|
||||
val project = kotlinProject {
|
||||
name = "kobalt-line-count"
|
||||
group = "com.beust.kobalt"
|
||||
artifactId = name
|
||||
version = "0.2"
|
||||
version = "0.8"
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:kobalt:0.139")
|
||||
compile("com.beust:kobalt:0.15")
|
||||
}
|
||||
}
|
||||
|
||||
val packProject = assemble(project) {
|
||||
jar {
|
||||
mavenJars {
|
||||
manifest {
|
||||
attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.Main")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val jc = jcenter(project) {
|
||||
publish = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue