Git Product home page Git Product logo

Comments (3)

cdimascio avatar cdimascio commented on August 16, 2024

@martin-jamszolik i'm working on a pure java version. it's available here and has the same api as the this package.

note that it's not yet available on jcenter and mavencentral, though it should be there within the next few days.

in the meantime, i posted it to github's maven repo here. the jar from there as well.

EDIT: the pure java variant is now available on Jcenter, here

from dotenv-kotlin.

cdimascio avatar cdimascio commented on August 16, 2024

@martin-jamszolik i am also planning a new major version of this package that uses the package referenced above as a dep. Ultimately, this package will only contain the Kotlin DSL.

from dotenv-kotlin.

cdimascio avatar cdimascio commented on August 16, 2024

The Kotlin enabled version lves in this repo dotenv-kotlin

dotenv

The pure Java version lives at dotenv-java

dotenv-java

Why the changes?

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

Previous Versions of java-dotenv

The last version of java-env is 5.2.2. It is available on MavenCentral and JCenter

Maven

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

Gradle

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

from dotenv-kotlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.