mirror of
https://github.com/ethauvin/kobalt-line-count.git
synced 2025-04-25 03:07:11 -07:00
Update to new plug-in architecture.
This commit is contained in:
parent
e66e551c1f
commit
2bc76dbb05
2 changed files with 7 additions and 4 deletions
5
Build.kt
5
Build.kt
|
@ -17,7 +17,7 @@ val project = kotlinProject {
|
|||
name = "kobalt-line-count"
|
||||
group = "com.beust.kobalt"
|
||||
artifactId = name
|
||||
version = "0.15"
|
||||
version = "0.16"
|
||||
|
||||
dependencies {
|
||||
// compile("file:" + homeDir("kotlin/kobalt/kobaltBuild/libs/kobalt-0.168.jar"))
|
||||
|
@ -26,9 +26,6 @@ val project = kotlinProject {
|
|||
|
||||
assemble {
|
||||
mavenJars {
|
||||
manifest {
|
||||
attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.LineCountPlugin")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
6
src/main/resources/META-INF/plugin.xml
Normal file
6
src/main/resources/META-INF/plugin.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<kobalt-plugin>
|
||||
<name>kobalt-line-count</name>
|
||||
<plugins>
|
||||
<class-name>com.beust.kobalt.plugin.linecount.LineCountPlugin</class-name>
|
||||
</plugins>
|
||||
</kobalt-plugin>
|
Loading…
Add table
Add a link
Reference in a new issue