├── README.md └── pom.xml /README.md: -------------------------------------------------------------------------------- 1 | # java-dotenv 2 | 3 | ### This package has been renamed to [dotenv-kotlin](https://github.com/cdimascio/dotenv-kotlin) 4 | 5 |

6 | dotenv 7 |

8 | 9 | ### Looking for a pure Java version, see [dotenv-java](https://github.com/cdimascio/dotenv-java) 10 | 11 |

12 | dotenv-java 13 |

14 | 15 | ### Why? 16 | 17 | To avoid confusion. 18 | 19 | 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. 20 | 21 | 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 22 | 23 | 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 24 | 25 | 26 | ### Latest versions of java-dotenv 27 | 28 | The last version of java-dotenv is `5.2.2`. It is available on MavenCentral and JCenter 29 | 30 | We recommend you use **dotenv-java** or **dotenv-kotlin** instead. 31 | 32 | ### Maven 33 | ```xml 34 | 35 | io.github.cdimascio 36 | java-dotenv 37 | 5.2.2 38 | 39 | ``` 40 | 41 | ### Gradle 42 | 43 | ```groovy 44 | implementation 'io.github.cdimascio:java-dotenv:5.2.2' 45 | ``` 46 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | java-dotenv 8 | Environment based config for the JVM 9 | https://github.com/cdimascio/java-dotenv 10 | 11 | io.github.cdimascio 12 | java-dotenv 13 | 5.2.2 14 | 15 | 16 | 17 | Apache License, Version 2.0 18 | https://www.apache.org/licenses/LICENSE-2.0.txt 19 | repo 20 | A business-friendly OSS license 21 | 22 | 23 | 24 | 25 | Carmine DiMascio OSS 26 | https://github.com/cdimascio 27 | 28 | 29 | 30 | scm:github:https://github.com/cdimascio/java-dotenv 31 | scm:github:https://github.com/cdimascio/java-dotenv 32 | master 33 | https://github.com/cdimascio/java-dotenv 34 | 35 | 36 | 37 | 38 | cdimascio 39 | Carmine DiMascio 40 | cdimascio@gmail.com 41 | https://www.github.com/cdimascio 42 | Carmine DiMascio OSS 43 | https://www.github.com/cdimascio 44 | 45 | developer 46 | 47 | America/New_York 48 | 49 | 50 | 51 | 52 | 53 | 1.8 54 | 1.8 55 | 1.8 56 | 1.4.0 57 | io.cdimascio.DotenvKt 58 | 4.12 59 | UTF-8 60 | 61 | 3.0.1 62 | 3.0.0 63 | 0.9.18 64 | cdimascio 65 | maven 66 | java-dotenv 67 | 68 | 69 | 70 | 71 | jcenter 72 | JCenter 73 | https://jcenter.bintray.com/ 74 | 75 | 76 | 77 | 78 | 79 | org.jetbrains.kotlin 80 | kotlin-stdlib 81 | ${kotlin.version} 82 | compile 83 | 84 | 85 | 86 | junit 87 | junit 88 | ${junit.version} 89 | test 90 | 91 | 92 | 93 | org.jetbrains.kotlin 94 | kotlin-test-junit 95 | ${kotlin.version} 96 | test 97 | 98 | 99 | 100 | 101 | ${project.basedir}/src/main/kotlin 102 | 103 | 104 | kotlin-maven-plugin 105 | org.jetbrains.kotlin 106 | ${kotlin.version} 107 | 108 | 109 | 110 | compile 111 | 112 | compile 113 | 114 | 115 | 116 | 117 | test-compile 118 | 119 | test-compile 120 | 121 | 122 | 123 | ${project.basedir}/src/test/kotlin 124 | ${project.basedir}/src/test/java 125 | 126 | 127 | 128 | 129 | 130 | 131 | org.apache.maven.plugins 132 | maven-jar-plugin 133 | 2.6 134 | 135 | 136 | 137 | true 138 | ${main.class} 139 | 140 | 141 | 142 | 143 | 144 | org.apache.maven.plugins 145 | maven-surefire-plugin 146 | 2.20.1 147 | 148 | ${project.basedir} 149 | 150 | 151 | 152 | org.apache.maven.plugins 153 | maven-source-plugin 154 | ${maven.source.plugin} 155 | 156 | 157 | attach-sources 158 | 159 | jar 160 | 161 | 162 | 163 | 164 | 165 | org.apache.maven.plugins 166 | maven-javadoc-plugin 167 | ${maven.javadoc.plugin} 168 | 169 | 170 | attach-javadocs 171 | 172 | jar 173 | 174 | 175 | 176 | 177 | 178 | org.jetbrains.dokka 179 | dokka-maven-plugin 180 | ${dokka.version} 181 | 182 | 183 | pre-site 184 | 185 | dokka 186 | 187 | 188 | 189 | 190 | 191 | org.jacoco 192 | jacoco-maven-plugin 193 | 0.7.6.201602180812 194 | 195 | 196 | prepare-agent 197 | 198 | prepare-agent 199 | 200 | 201 | 202 | 203 | 204 | org.eluder.coveralls 205 | coveralls-maven-plugin 206 | 4.3.0 207 | 208 | i3Bl4av26PMqZNekY8X3Jt7t6YhwFXKFu 209 | 210 | 211 | 212 | 213 | 214 | --------------------------------------------------------------------------------