diff --git a/README.md b/README.md index bce8adc..1c891a0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Command Line Execution plug-in for [Kobalt](http://beust.com/kobalt/home/index.html) -[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://travis-ci.org/ethauvin/kobalt-exec.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-exec) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-exec/images/download.svg)](https://bintray.com/ethauvin/maven/kobalt-exec/_latestVersion) +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://travis-ci.org/ethauvin/kobalt-exec.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-exec) [![CircleCI](https://circleci.com/gh/ethauvin/kobalt-exec/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/kobalt-exec/tree/master) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-exec/images/download.svg)](https://bintray.com/ethauvin/maven/kobalt-exec/_latestVersion) The plug-in allows for the execution of system commands, similarly to the [Gradle Exec](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html) or [Ant Exec](https://ant.apache.org/manual/Tasks/exec.html) tasks. diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..0351b69 --- /dev/null +++ b/circle.yml @@ -0,0 +1,11 @@ +machine: + java: + version: oraclejdk8 + +dependencies: + override: + - chmod +x kobaltw + +test: + override: + - ./kobaltw assemble \ No newline at end of file diff --git a/example/kobalt/src/Build.kt b/example/kobalt/src/Build.kt index 16bf56d..76e2c24 100644 --- a/example/kobalt/src/Build.kt +++ b/example/kobalt/src/Build.kt @@ -9,7 +9,7 @@ import net.thauvin.erik.kobalt.plugin.exec.* // ./kobaltw ps --log 2 val bs = buildScript { - //repos(file("K:/maven/repository")) + repos(localMaven()) plugins("net.thauvin.erik:kobalt-exec:") } diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 2b2d815..60461c7 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -1,5 +1,5 @@ - import com.beust.kobalt.buildScript +import com.beust.kobalt.localMaven import com.beust.kobalt.file import com.beust.kobalt.plugin.packaging.assemble import com.beust.kobalt.plugin.publish.autoGitTag @@ -13,7 +13,7 @@ import org.apache.maven.model.Model import org.apache.maven.model.Scm val bs = buildScript { - repos(file("K:/maven/repository")) + repos(localMaven()) plugins("net.thauvin.erik:kobalt-versioneye:", "net.thauvin.erik:kobalt-maven-local:") } @@ -47,11 +47,13 @@ val p = project { } dependencies { - compileOnly("com.beust:$kobaltDependency:") + compile("com.beust:$kobaltDependency:") + compile("org.jetbrains.kotlin:kotlin-stdlib:1.1.2-4") } dependenciesTest { compile("org.testng:testng:") + compile("org.jetbrains.kotlin:kotlin-test:1.1.2-4") } assemble {