java-dotenv

Environment based config for the JVM

License

License

Categories

Categories

Java Languages dotenv Application Layer Libs Configuration
GroupId

GroupId

io.github.cdimascio
ArtifactId

ArtifactId

java-dotenv
Last Version

Last Version

5.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

java-dotenv
Environment based config for the JVM
Project URL

Project URL

https://github.com/cdimascio/java-dotenv
Project Organization

Project Organization

Carmine DiMascio OSS
Source Code Management

Source Code Management

https://github.com/cdimascio/java-dotenv

Download java-dotenv

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.cdimascio/java-dotenv/ -->
<dependency>
    <groupId>io.github.cdimascio</groupId>
    <artifactId>java-dotenv</artifactId>
    <version>5.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.cdimascio/java-dotenv/
implementation 'io.github.cdimascio:java-dotenv:5.2.2'
// https://jarcasting.com/artifacts/io.github.cdimascio/java-dotenv/
implementation ("io.github.cdimascio:java-dotenv:5.2.2")
'io.github.cdimascio:java-dotenv:jar:5.2.2'
<dependency org="io.github.cdimascio" name="java-dotenv" rev="5.2.2">
  <artifact name="java-dotenv" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.cdimascio', module='java-dotenv', version='5.2.2')
)
libraryDependencies += "io.github.cdimascio" % "java-dotenv" % "5.2.2"
[io.github.cdimascio/java-dotenv "5.2.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.jetbrains.kotlin : kotlin-test-junit jar 1.4.0

Project Modules

There are no modules declared in this project.

java-dotenv

This package has been renamed to dotenv-kotlin

dotenv

Looking for a pure Java version, see dotenv-java

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 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 project is almost identical to the previous java-dotenv package. The only difference is that its core is provided by 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

<dependency>
    <groupId>io.github.cdimascio</groupId>
    <artifactId>java-dotenv</artifactId>
    <version>5.2.2</version>
</dependency>

Gradle

compile 'io.github.cdimascio:java-dotenv:5.2.2'

Versions

Version
5.2.2
5.2.1
5.2.0
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.1
5.0.0
4.1.0
4.0.1
3.3.1
3.3.0
3.2.0
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.0.0
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
0.7.1
0.6.1