dotenv-java icon indicating copy to clipboard operation
dotenv-java copied to clipboard

🗝️ Dotenv is a no-dep, pure Java module that loads environment variables from a .env file

Results 20 dotenv-java issues
Sort by recently updated
recently updated
newest added

- Add DotenvReader file reading implementation based on the File api to provide support for older android versions. See [Crashes_on_Android_version_7_and_older.](https://github.com/cdimascio/dotenv-kotlin/issues/60) - Encapsulate File reading logic behind a DotenvReader interface to...

I have added dependency in build.gradle implementation 'io.github.cdimascio:dotenv-java:2.3.2' MyApplication.java _______________________ @SpringBootApplication public class MovieApiApplication { public static void main(String[] args) { Dotenv dotenv = Dotenv.load(); String myEnvVar = dotenv.get("MONGO_CLUSTER"); System.out.println(myEnvVar);...

In order to make the upload work you need to get a codacy project token. ## Getting the coverage badge and codacy project token - access your project at https://codacy.com,...

The dependency does not work for versions greater than or equal to springboot 3.2.0

I use this deliberately really broken `.env` file to test stuff, and dotenv-java crashes with an StringIndexOutOfBoundsException on it. Is the `ignoreIfMalformed` option supposed to catch these or is this...

Maven central is saying there is a new hotfix version available 3.0.1 While I don't see it here in the releases. And I also can't find any commit in master...

Context: - Spring boot 3.3.3 - Java JDK 21 - Maven 3.9.5 - Spring dotenv 4.0.0 What happened? Using a .env file I put my rsa key in the form...

I'm with the Software Engineering Research Group at the TU Delft, and I am investigating automations. I have looked at your repository and which GitHub workflows and Maven plugins you...

When calling `Dotenv.configure().filename(F)`, there is no check if `F` is an absolute path, leading to always prepending `./`, except of course `directory()` is called with "" as argument. I don't...

Example `.env` file: ``` key1=value1 key2="value2" key3='value3' ``` Usage code: ``` Dotenv dotenv = Dotenv.load(); System.out.println(dotenv.get("key1")); System.out.println(dotenv.get("key2")); System.out.println(dotenv.get("key3")); ``` Output: ``` value1 value2 'value3' ``` The single quotes around value3...