mirror of
https://github.com/ethauvin/kobalt-line-count.git
synced 2025-04-24 18:57:11 -07:00
24 lines
547 B
Kotlin
24 lines
547 B
Kotlin
import com.beust.kobalt.*
|
|
import com.beust.kobalt.plugin.packaging.*
|
|
import com.beust.kobalt.plugin.kotlin.*
|
|
|
|
val repos = repos("https://dl.bintray.com/cbeust/maven/")
|
|
|
|
val project = kotlinProject {
|
|
name = "kobalt-line-count"
|
|
group = "com.beust.kobalt"
|
|
artifactId = name
|
|
version = "0.2"
|
|
|
|
dependencies {
|
|
compile("com.beust:kobalt:0.139")
|
|
}
|
|
}
|
|
|
|
val packProject = assemble(project) {
|
|
jar {
|
|
manifest {
|
|
attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.Main")
|
|
}
|
|
}
|
|
}
|