Skip to content
New issue

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

gradle plugin does not consider application.properties file #1825

Closed
anadollu opened this issue Apr 2, 2019 · 2 comments
Closed

gradle plugin does not consider application.properties file #1825

anadollu opened this issue Apr 2, 2019 · 2 comments
Labels
Milestone

Comments

@anadollu
Copy link

anadollu commented Apr 2, 2019

Steps to reproduce

  1. convert Application Config project from quarkus-quickstarts projects to gradle project
    https://github.com/quarkusio/quarkus-quickstarts/tree/master/application-configuration
  2. build and run directly (java -jar) or gradle quarkusDev
  3. then you will get an exception " javax.enterprise.inject.spi.DeploymentException: No config value of type class java.lang.String exists for: greeting.message"

After investigating the problem, i found that there is no application.properties file in the jar generated in the build folder ( xxxxxx-runner.jar or xxxxx-dev.jar)

@geoand
Copy link
Contributor

geoand commented Apr 3, 2019

Hi @anadollu

There have been a lot of changes on the gradle front since 0.12.0. I would suggest that you either try using master or wait (a few hours most likely) for 0.13.0 to see if the problem has been fixed.

@stalep
Copy link
Member

stalep commented Apr 3, 2019

Yes, this have been fixed in master and will be visible in the upcoming 0.13.0 version.

@stalep stalep closed this as completed Apr 3, 2019
@stalep stalep added the area/gradle Gradle label Apr 3, 2019
@gsmet gsmet added this to the 0.13.0 milestone Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants