mirror of
https://github.com/ethauvin/kobalt-line-count.git
synced 2025-04-25 03:07:11 -07:00
0.10.
This commit is contained in:
parent
1ef8e4b945
commit
3989ef293d
7 changed files with 89 additions and 64 deletions
28
Build.kt
28
Build.kt
|
@ -2,30 +2,33 @@ 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")
|
||||
)
|
||||
|
||||
//import com.beust.kobalt.plugin.linecount.lineCount
|
||||
//
|
||||
//val plugins = plugins(
|
||||
//// "com.beust.kobalt:kobalt-line-count:0.8"
|
||||
//// file(homeDir("kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.8.jar"))
|
||||
// file(homeDir("kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.9.jar"))
|
||||
//)
|
||||
//
|
||||
//val lc = lineCount {
|
||||
// suffix = "**.md"
|
||||
//}
|
||||
val project = kotlinProject {
|
||||
name = "kobalt-line-count"
|
||||
group = "com.beust.kobalt"
|
||||
artifactId = name
|
||||
version = "0.8"
|
||||
version = "0.10"
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:kobalt:0.154")
|
||||
// compile("file:" + homeDir("kotlin/kobalt/kobaltBuild/libs/kobalt-0.168.jar"))
|
||||
compile("com.beust:kobalt:0.170")
|
||||
}
|
||||
}
|
||||
|
||||
val packProject = assemble(project) {
|
||||
mavenJars {
|
||||
manifest {
|
||||
attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.Main")
|
||||
attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.LineCountMain")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +36,3 @@ val packProject = assemble(project) {
|
|||
val jc = jcenter(project) {
|
||||
publish = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue