Skip to content

Conversation

mickaeltr
Copy link

@mickaeltr mickaeltr commented Jul 8, 2020

Hello,

I would like to volunteer for HHH-13926 (which I created 😌) but I could not figure out how I could access a configuration property value (hibernate.show_sql) from Expectations.java.

Besides, I am not too familiar with Gradle and couldn't setup the project properly in IntelliJ IDEA so it might be hard to follow the guidelines…

➜  hibernate-orm git:(HHH-13926) ./gradlew idea

FAILURE: Build failed with an exception.

* Where:
Script '/Users/mickael/Workspace/hibernate-orm/gradle/publishing-repos.gradle' line: 12

* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugin [id 'org.hibernate.build.maven-repo-auth']
   > Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed:
     GStringTemplateScript7.groovy: 2: illegal string body character after dollar sign;
        solution: either escape a literal dollar sign "\$5" or bracket the value expression "${5}" @ line 2, column 42.
        plate() { return { out -> out << """Bios
                                      ^
     
     1 error


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 840ms

Any help would be appreciated!

@mickaeltr mickaeltr closed this Jul 21, 2020
@mickaeltr
Copy link
Author

In the end, that was resolved in a much better way -> #3472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant