Erik's Weblog 2.0

July 31, 2016

[@963]

Jason Bourne

Trying the new recliner seats... A little too close to the screen for my taste. All of the good ones were already reserved.

[@699]

VersionEye Plug-in for Kobalt

I've released my thrid plug-in for C├ędric's Kobalt build system based on Kotlin.

The plug-in will create and update projects on VersionEye, a service that notifies you about outdated dependencies, security vulnerabilities and license violations.

To use the plug-in include the following in your Build.kt file:

import net.thauvin.erik.kobalt.plugin.versioneye.*

val pl = plugins("net.thauvin.erik:kobalt-versioneye:")

val p = project {

    name = "example"
    group = "com.example"
    artifactId = name
    version = "0.1"

    versionEye {

        failOn(Fail.securityCheck, Fail.licensesCheck)

    }
}



To create a new project on VersionEye, simple execute:

/kobaltw -Dversioneye.ApiKey=YOUR_API_KEY_HERE versionEye


The plug-in will output something like:

VersionEye Plug-in for Kobalt

Documentation and source are on GitHub.