We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
checkout project: https://github.com/cdimascio/kotlin-spring-mvc-template
replace 3.1.3 library version with 5.1.3
create .env file under src/main/resources
.env
src/main/resources
verify that running gradle bootRun command resolves .env file location correctly.
gradle bootRun
verify that running gradle bootJar && java -jar build/libs/example-service-1.0.0.jar doesn't resolve .env files location properly
gradle bootJar && java -jar build/libs/example-service-1.0.0.jar
Tested also with 3.1.3 version and it was working correctly back then.
Update: Last working version: 3.1.4 First not working version: 3.1.5
The text was updated successfully, but these errors were encountered:
Haven't spotted difference in jar structure. In both cases (3.1.3 & 5.1.3) .env file is located in BOOT-INF/classes directory
BOOT-INF/classes
Sorry, something went wrong.
@Michal-SG Thanks for the issue. I published a new version, 5.1.4 with the fix.
5.1.4
Note, it can sometimes take 24 hours for the jar to propagate to mavencentral. that being said, it should be available on jcenter now
Let me know how it goes
(fix) #38 classpath .env resource
72a045c
Bump version of dotenv to solve https://github.com/cdimascio/java-dot…
e60ada3
…env/issues/38
Thanks @cdimascio for quick action. Today verified issue with newest library version and it seems to not be the case anymore. Dziekuje!
No branches or pull requests
Steps to reproduce:
checkout project: https://github.com/cdimascio/kotlin-spring-mvc-template
replace 3.1.3 library version with 5.1.3
create
.env
file undersrc/main/resources
verify that running
gradle bootRun
command resolves .env file location correctly.verify that running
gradle bootJar && java -jar build/libs/example-service-1.0.0.jar
doesn't resolve.env
files location properlyTested also with 3.1.3 version and it was working correctly back then.
Update:
Last working version: 3.1.4
First not working version: 3.1.5
The text was updated successfully, but these errors were encountered: