An open API service indexing awesome lists of open source software.

https://github.com/binkley/layers-kt-2

Second experiment for "list of maps" in Kotlin
https://github.com/binkley/layers-kt-2

Last synced: 10 months ago
JSON representation

Second experiment for "list of maps" in Kotlin

Awesome Lists containing this project

README

          


Creative Commons Public Domain Dedication

# Layers Kotlin 2

Second experiment for "list of maps" in Kotlin.

[![build](https://github.com/binkley/layers-kt-2/actions/workflows/ci.yml/badge.svg)](https://github.com/binkley/layers-kt-2/actions)
[![coverage](https://github.com/binkley/layers-kt-2/raw/master/images/jacoco.svg)](https://github.com/binkley/layers-kt-2/actions/workflows/ci.yml)
[![pull requests](https://img.shields.io/github/issues-pr/binkley/layers-kt-2.svg)](https://github.com/binkley/layers-kt-2/pulls)
[![issues](https://img.shields.io/github/issues/binkley/layers-kt-2.svg)](https://github.com/binkley/layers-kt-2/issues)
[![vulnerabilities](https://snyk.io/test/github/binkley/layers-kt-2/badge.svg)](https://snyk.io/test/github/binkley/layers-kt-2)
[![license](https://img.shields.io/badge/License-CC0_1.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)

## Try it

After cloning the project, try [`./run`](./run) for a demonstration.

The build is vanilla [Maven](pom.xml), and includes a `./mvnw` (wrapper)
script so you can work without installing Maven locally.

```
$ ./mvnw clean verify
$ ./run # a demo
```

> [!NOTE]
> You will need an OWASP NVD API key exported to your environment as
> `OWASP_NVD_API_KEY`.
> This is for running security checks on dependencies as part of the build.
> Alternatively, use the `-Dowasp.skip=true` flag to `./mvn`; there is no
> equivalent for skipping these checks for the Earthly build.
> For running `earthly` this needs to be passed as `--secret
> OWASP_NVD_API_KEY=some-value`.

Test coverage is 100% for lines, branches, and instructions.
Checkout [CI builds](https://github.com/binkley/layers-kt-2/actions) to see what
happens.

If you locally use [Earthly](https://github.com/earthly/earthly) (a
containerized build), you can try:

```
$ earthly +build
$ earthly +run # a demo
```

If you locally use the [`gh`](https://cli.github.com/) (manage GitHub actions)
and [`act`](https://github.com/nektos/act) (run GH actions locally) tools, you
can try:

```
$ gh act
```