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