Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Nov 28, 2021
2 parents 2dcd5e1 + ee13d83 commit db5d247
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 12 deletions.
20 changes: 19 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,28 @@
"contributions": [
"code"
]
},
{
"login": "HarryHenryGebel",
"name": "Harry Henry Gebel",
"avatar_url": "https://avatars2.githubusercontent.com/u/1482486?v=4",
"profile": "https://github.com/HarryHenryGebel",
"contributions": [
"doc"
]
},
{
"login": "NyCodeGHG",
"name": "NyCode",
"avatar_url": "https://avatars.githubusercontent.com/u/37078297?v=4",
"profile": "https://twitch.tv/NyCodeGHG",
"contributions": [
"doc"
]
}
],
"contributorsPerLine": 7,
"projectName": "kotlin-dotenv",
"projectName": "dotenv-kotlin",
"projectOwner": "cdimascio",
"repoType": "github",
"repoHost": "https://github.com",
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# πŸ—οΈ dotenv-kotlin

![](https://travis-ci.org/cdimascio/dotenv-kotlin.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/cdimascio/dotenv-kotlin/badge.svg?branch=v6)](https://coveralls.io/github/cdimascio/dotenv-kotlin?branch=master) [![Maven Central](https://img.shields.io/maven-central/v/io.github.cdimascio/dotenv-kotlin.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.github.cdimascio/dotenv-kotlin) [ ![Download](https://api.bintray.com/packages/cdimascio/maven/dotenv-kotlin/images/download.svg) ](https://bintray.com/cdimascio/maven/dotenv-kotlin/_latestVersion) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/66b8195f0da544f1ad9ed1352c0ea66f)](https://app.codacy.com/app/cdimascio/dotenv-kotlin?utm_source=github.com&utm_medium=referral&utm_content=cdimascio/dotenv-kotlinv&utm_campaign=Badge_Grade_Dashboard) [![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors) [![](https://img.shields.io/gitter/room/cdimascio-oss/community?color=%23eb205a)](https://gitter.im/cdimascio-oss/community) ![](https://img.shields.io/badge/license-Apache%202.0-orange.svg)
![](https://travis-ci.org/cdimascio/dotenv-kotlin.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/cdimascio/dotenv-kotlin/badge.svg?branch=v6)](https://coveralls.io/github/cdimascio/dotenv-kotlin?branch=master) [![Maven Central](https://img.shields.io/maven-central/v/io.github.cdimascio/dotenv-kotlin.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.github.cdimascio/dotenv-kotlin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/66b8195f0da544f1ad9ed1352c0ea66f)](https://app.codacy.com/app/cdimascio/dotenv-kotlin?utm_source=github.com&utm_medium=referral&utm_content=cdimascio/dotenv-kotlinv&utm_campaign=Badge_Grade_Dashboard) [![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors) [![](https://img.shields.io/gitter/room/cdimascio-oss/community?color=%23eb205a)](https://gitter.im/cdimascio-oss/community) ![](https://img.shields.io/badge/license-Apache%202.0-orange.svg)

A port of the Ruby dotenv project for Java and Kotlin. Load environment variables from a `.env` file.

Expand Down Expand Up @@ -32,16 +32,21 @@ Looking for the pure Java variant (no Kotlin), get [dotenv-java](https://github.
<dependency>
<groupId>io.github.cdimascio</groupId>
<artifactId>dotenv-kotlin</artifactId>
<version>6.2.1</version>
<version>6.2.2</version>
</dependency>
```

[Previous versions](https://github.com/cdimascio/java-dotenv#Previous-Versions-of-java-dotenv)

### Gradle

#### Gradle Groovy DSL
```groovy
compile 'io.github.cdimascio:dotenv-kotlin:6.2.1'
implementation 'io.github.cdimascio:dotenv-kotlin:6.2.2'
```

#### Gradle Kotlin DSL
```kotlin
implementation("io.github.cdimascio:dotenv-kotlin:6.2.2")
```

## Usage
Expand Down Expand Up @@ -338,16 +343,19 @@ Contributions are welcome!
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="http://www.twitter.com/carminedimascio"><img src="https://avatars1.githubusercontent.com/u/4706618?v=4" width="100px;" alt=""/><br /><sub><b>Carmine DiMascio</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=cdimascio" title="Code">πŸ’»</a> <a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=cdimascio" title="Documentation">πŸ“–</a> <a href="#infra-cdimascio" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a></td>
<td align="center"><a href="https://github.com/arniu"><img src="https://avatars3.githubusercontent.com/u/1286674?v=4" width="100px;" alt=""/><br /><sub><b>Arniu Tseng</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=arniu" title="Code">πŸ’»</a> <a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=arniu" title="Documentation">πŸ“–</a> <a href="#infra-arniu" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a></td>
<td align="center"><a href="http://pwoolcoc.gitlab.io"><img src="https://avatars3.githubusercontent.com/u/620392?v=4" width="100px;" alt=""/><br /><sub><b>Paul Woolcock</b></sub></a><br /><a href="#ideas-pwoolcoc" title="Ideas, Planning, & Feedback">πŸ€”</a></td>
<td align="center"><a href="https://github.com/Playacem"><img src="https://avatars3.githubusercontent.com/u/3692093?v=4" width="100px;" alt=""/><br /><sub><b>Playacem</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=Playacem" title="Code">πŸ’»</a></td>
<td align="center"><a href="https://cleymax.fr/"><img src="https://avatars3.githubusercontent.com/u/24879740?v=4" width="100px;" alt=""/><br /><sub><b>ClΓ©ment P.</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=Cleymax" title="Code">πŸ’»</a></td>
<td align="center"><a href="http://www.twitter.com/carminedimascio"><img src="https://avatars1.githubusercontent.com/u/4706618?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Carmine DiMascio</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=cdimascio" title="Code">πŸ’»</a> <a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=cdimascio" title="Documentation">πŸ“–</a> <a href="#infra-cdimascio" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a></td>
<td align="center"><a href="https://github.com/arniu"><img src="https://avatars3.githubusercontent.com/u/1286674?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Arniu Tseng</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=arniu" title="Code">πŸ’»</a> <a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=arniu" title="Documentation">πŸ“–</a> <a href="#infra-arniu" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a></td>
<td align="center"><a href="http://pwoolcoc.gitlab.io"><img src="https://avatars3.githubusercontent.com/u/620392?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Paul Woolcock</b></sub></a><br /><a href="#ideas-pwoolcoc" title="Ideas, Planning, & Feedback">πŸ€”</a></td>
<td align="center"><a href="https://github.com/Playacem"><img src="https://avatars3.githubusercontent.com/u/3692093?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Playacem</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=Playacem" title="Code">πŸ’»</a></td>
<td align="center"><a href="https://cleymax.fr/"><img src="https://avatars3.githubusercontent.com/u/24879740?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ClΓ©ment P.</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=Cleymax" title="Code">πŸ’»</a></td>
<td align="center"><a href="https://github.com/HarryHenryGebel"><img src="https://avatars2.githubusercontent.com/u/1482486?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Harry Henry Gebel</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=HarryHenryGebel" title="Documentation">πŸ“–</a></td>
<td align="center"><a href="https://twitch.tv/NyCodeGHG"><img src="https://avatars.githubusercontent.com/u/37078297?v=4?s=100" width="100px;" alt=""/><br /><sub><b>NyCode</b></sub></a><br /><a href="https://github.com/cdimascio/dotenv-kotlin/commits?author=NyCodeGHG" title="Documentation">πŸ“–</a></td>
</tr>
</table>

<!-- markdownlint-enable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

see [CONTRIBUTING.md](CONTRIBUTING.md)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/io/github/cdimascio/dotenv/Dsl.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Carmine DiMascio 2017 - 2019
* Copyright (c) Carmine DiMascio 2017 - 2021
* License: MIT
*/
package io.github.cdimascio.dotenv
Expand Down

0 comments on commit db5d247

Please sign in to comment.