hiero-ledger / hiero-gradle-conventions

Gradle convention plugins used by Hiero projects
Apache License 2.0
1 stars 0 forks source link

Add 'org.hiero.gradle.check.gradle-properties' convention plugin #7

Open jjohannes opened 2 weeks ago

jjohannes commented 2 weeks ago

The gradle.properties file needs to be used to configure global switches directly in each repository. This can not be moved into these plugins, but the plugins may check if the build is configured as expected and otherwise emit a warning:

# Build Cache turned on?
org.gradle.configuration-cache=true

# Configuration Cache turned on?
org.gradle.caching=true

# JVM args contain '-Dfile.encoding=UTF-8'
org.gradle.jvmargs=-Dfile.encoding=UTF-8 ...
jjohannes commented 1 week ago

Also check that a minimal Gradle version of the plugins is met. If not, projects need to update Gradle together with the plugins.

Initially this will be Gradle 8.11.1.