Added CircleCI
This commit is contained in:
parent
6925d68db7
commit
e39514bcd7
2 changed files with 55 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
[](https://opensource.org/licenses/BSD-3-Clause) <!-- [](https://github.com/ethauvin/jokeapi/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/jokeapi) --> [](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/jokeapi/)
|
||||
|
||||
<!-- [](https://snyk.io/test/github/ethauvin/jokeapi?targetFile=pom.xml) -->
|
||||
[](https://sonarcloud.io/dashboard?id=ethauvin_jokeapi) [](https://github.com/ethauvin/jokeapi/actions/workflows/gradle.yml) <!-- [](https://circleci.com/gh/ethauvin/jokeapi/tree/master) -->
|
||||
[](https://sonarcloud.io/dashboard?id=ethauvin_jokeapi) [](https://github.com/ethauvin/jokeapi/actions/workflows/gradle.yml) [](https://circleci.com/gh/ethauvin/jokeapi/tree/master)
|
||||
|
||||
# JokeAPI for Kotlin/Java
|
||||
|
||||
|
@ -109,7 +109,7 @@ var config = new JokeConfig.Builder()
|
|||
.safe(true)
|
||||
.build();
|
||||
var joke = JokeApi.getJoke(config);
|
||||
for (String j : joke.getJoke()) {
|
||||
for (var j : joke.getJoke()) {
|
||||
System.out.println(j);
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue