diff --git a/README.md b/README.md index 665609b..b43dbf2 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ poster.deletePin("http:///www.example.com/bar"); Your API authentication token is available on the [Pinboard settings page](https://pinboard.in/settings/password). -## Usage with Maven, Gradle and Kobalt +## Usage with Maven and Gradle ### Maven @@ -57,17 +57,6 @@ dependencies { [View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/java/build.gradle) [View Kotlin DSL Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/build.gradle.kts) -### Kobalt - -To install and run from Kobalt, add the following to the Build.kt file: - -```gradle -dependencies { - compile("net.thauvin.erik:pinboard-poster:1.0.1") -} -``` -[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/kobalt/src/Build.kt) - ## Adding The `addPin` function support all of the [Pinboard API parameters](https://pinboard.in/api/#posts_add): diff --git a/preflightcheck.sh b/preflightcheck.sh index 26b8aa8..ed82ca7 100644 --- a/preflightcheck.sh +++ b/preflightcheck.sh @@ -104,7 +104,7 @@ checkDeps() { * ) for ex in "${!examples[@]}" do runGradle $(echo "${examples[ex]}" | cut -d " " -f 1) dU - runKobalt $(echo "${examples[ex]}" | cut -d " " -f 1) checkVersions + # runKobalt $(echo "${examples[ex]}" | cut -d " " -f 1) checkVersions runMaven $(echo "${examples[ex]}" | cut -d " " -f 1) versions:display-dependency-updates if [ "$ex" -eq "${#examples}" ] then @@ -130,7 +130,7 @@ runExamples() { for ex in "${!examples[@]}" do runGradle ${examples[ex]} clean $gradle_opts - runKobalt ${examples[ex]} clean + # runKobalt ${examples[ex]} clean runMaven $(echo "${examples[ex]}" | cut -d " " -f 1) clean $maven_args done } @@ -152,7 +152,7 @@ examplesMenu() { examplesMenu else runGradle ${examples[$(($choice - 1))]} - runKobalt ${examples[$(($choice - 1))]} + # runKobalt ${examples[$(($choice - 1))]} runMaven $(echo "${examples[$(($choice - 1))]}" | cut -d " " -f 1) $maven_args examplesMenu fi ;; diff --git a/samples/kotlin/kobalt/src/Build.kt b/samples/kotlin/kobalt/src/Build.kt deleted file mode 100644 index 5f0fc9e..0000000 --- a/samples/kotlin/kobalt/src/Build.kt +++ /dev/null @@ -1,29 +0,0 @@ -import com.beust.kobalt.* -import com.beust.kobalt.plugin.application.* -import com.beust.kobalt.plugin.packaging.assemble - -// ./kobaltw run - -val bs = buildScript { - repos(localMaven()) -} - -val p = project { - name = "KotlinExample" - version = "0.1" - - dependencies { - compile("net.thauvin.erik:pinboard-poster:1.0.1") - } - - assemble { - jar { - - } - } - - application { - ignoreErrorStream = true - mainClass = "net.thauvin.erik.pinboard.samples.KotlinExampleKt" - } -} diff --git a/samples/kotlin/kobalt/wrapper/kobalt-wrapper.jar b/samples/kotlin/kobalt/wrapper/kobalt-wrapper.jar deleted file mode 100644 index 0721eec..0000000 Binary files a/samples/kotlin/kobalt/wrapper/kobalt-wrapper.jar and /dev/null differ diff --git a/samples/kotlin/kobalt/wrapper/kobalt-wrapper.properties b/samples/kotlin/kobalt/wrapper/kobalt-wrapper.properties deleted file mode 100644 index bdce6e3..0000000 --- a/samples/kotlin/kobalt/wrapper/kobalt-wrapper.properties +++ /dev/null @@ -1 +0,0 @@ -kobalt.version=1.0.123 diff --git a/samples/kotlin/kobaltw b/samples/kotlin/kobaltw deleted file mode 100755 index c5186d5..0000000 --- a/samples/kotlin/kobaltw +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -java -jar "`dirname "$0"`/kobalt/wrapper/kobalt-wrapper.jar" $* diff --git a/samples/kotlin/kobaltw.bat b/samples/kotlin/kobaltw.bat deleted file mode 100644 index d578071..0000000 --- a/samples/kotlin/kobaltw.bat +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -java -jar "%DIRNAME%/kobalt/wrapper/kobalt-wrapper.jar" %*