Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdimascio/java-dotenv
Use dotenv-java or dotenv-kotlin https://github.com/cdimascio/dotenv-java or https://github.com/cdimascio/dotenv-kotlin instead
https://github.com/cdimascio/java-dotenv
dotenv dotenv-kotlin java-dotenv kotlin-dsl
Last synced: about 2 months ago
JSON representation
Use dotenv-java or dotenv-kotlin https://github.com/cdimascio/dotenv-java or https://github.com/cdimascio/dotenv-kotlin instead
- Host: GitHub
- URL: https://github.com/cdimascio/java-dotenv
- Owner: cdimascio
- Created: 2020-09-19T20:50:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T11:46:55.000Z (over 1 year ago)
- Last Synced: 2024-10-23T13:46:18.652Z (3 months ago)
- Topics: dotenv, dotenv-kotlin, java-dotenv, kotlin-dsl
- Homepage: https://github.com/cdimascio/dotenv-java
- Size: 454 KB
- Stars: 31
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-dotenv
### This package has been renamed to [dotenv-kotlin](https://github.com/cdimascio/dotenv-kotlin)
### Looking for a pure Java version, see [dotenv-java](https://github.com/cdimascio/dotenv-java)
### Why?
To avoid confusion.
java-dotenv was implemented in Kotlin. This meant that Java-only users would end up pulling in some Kotlin deps. In order to keep the package size as small as possible for Java-only users, we've rewritten the dotenv core in Java.
The [dotenv-java](https://github.com/cdimascio/dotenv-java) project contains the pure Java variant. It implements the same API as the original java-dotenv (with the exception of the Kotlin DSL
The [dotenv-kotlin](https://github.com/cdimascio/dotenv-kotlin) project is almost identical to the previous java-dotenv package. The only difference is that its core is provided by [dotenv-java](https://github.com/cdimascio/dotenv-java). It continues to provide functionality similar to before and includes the Kotlin DSL
### Latest versions of java-dotenv
The last version of java-dotenv is `5.2.2`. It is available on MavenCentral and JCenter
We recommend you use **dotenv-java** or **dotenv-kotlin** instead.
### Maven
```xmlio.github.cdimascio
java-dotenv
5.2.2```
### Gradle
```groovy
implementation 'io.github.cdimascio:java-dotenv:5.2.2'
```