{"id":15597576,"url":"https://github.com/cdimascio/java-dotenv","last_synced_at":"2025-07-29T07:33:54.275Z","repository":{"id":26963674,"uuid":"296949649","full_name":"cdimascio/java-dotenv","owner":"cdimascio","description":"Use dotenv-java or dotenv-kotlin https://github.com/cdimascio/dotenv-java or https://github.com/cdimascio/dotenv-kotlin instead","archived":false,"fork":false,"pushed_at":"2023-07-19T11:46:55.000Z","size":465,"stargazers_count":33,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T11:45:13.353Z","etag":null,"topics":["dotenv","dotenv-kotlin","java-dotenv","kotlin-dsl"],"latest_commit_sha":null,"homepage":"https://github.com/cdimascio/dotenv-java","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdimascio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-19T20:50:58.000Z","updated_at":"2025-02-24T14:31:52.000Z","dependencies_parsed_at":"2024-12-09T16:38:29.610Z","dependency_job_id":null,"html_url":"https://github.com/cdimascio/java-dotenv","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":"0.10526315789473684","last_synced_commit":"f7d0ceffb8f1e29cebb2bcbbe99cfcf99140bffe"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fjava-dotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fjava-dotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fjava-dotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fjava-dotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdimascio","download_url":"https://codeload.github.com/cdimascio/java-dotenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249766596,"owners_count":21322627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotenv","dotenv-kotlin","java-dotenv","kotlin-dsl"],"created_at":"2024-10-03T01:22:28.476Z","updated_at":"2025-04-19T18:39:34.241Z","avatar_url":"https://github.com/cdimascio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-dotenv\n\n### This package has been renamed to [dotenv-kotlin](https://github.com/cdimascio/dotenv-kotlin)\n\n\u003cp align=\"left\"\u003e\n\t\u003ca href=\"https://github.com/cdimascio/dotenv-kotlin\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/cdimascio/dotenv-kotlin/master/assets/kotlin-dotenv-logo.png\" alt=\"dotenv\" width=\"250\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### Looking for a pure Java version, see [dotenv-java](https://github.com/cdimascio/dotenv-java)\n\n\u003cp align=\"left\"\u003e\n\t\u003ca href=\"https://github.com/cdimascio/dotenv-java\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/cdimascio/dotenv-java/master/assets/dotenv-java-logo.png\" alt=\"dotenv-java\" width=\"260\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### Why?\n\nTo avoid confusion. \n\njava-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. \n\nThe [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\n\nThe [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\n\n\n### Latest versions of java-dotenv\n\nThe last version of java-dotenv is `5.2.2`. It is available on MavenCentral and JCenter\n\nWe recommend you use **dotenv-java** or **dotenv-kotlin** instead.\n\n### Maven \n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.cdimascio\u003c/groupId\u003e\n    \u003cartifactId\u003ejava-dotenv\u003c/artifactId\u003e\n    \u003cversion\u003e5.2.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```groovy\nimplementation 'io.github.cdimascio:java-dotenv:5.2.2'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdimascio%2Fjava-dotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdimascio%2Fjava-dotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdimascio%2Fjava-dotenv/lists"}