Removed Kobalt.
This commit is contained in:
parent
d3b6fb50d1
commit
c08cb0708d
7 changed files with 4 additions and 51 deletions
13
README.md
13
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):
|
||||
|
|
|
@ -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 ;;
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
kobalt.version=1.0.123
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
java -jar "`dirname "$0"`/kobalt/wrapper/kobalt-wrapper.jar" $*
|
|
@ -1,4 +0,0 @@
|
|||
@echo off
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
java -jar "%DIRNAME%/kobalt/wrapper/kobalt-wrapper.jar" %*
|
Loading…
Add table
Add a link
Reference in a new issue