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

local.properties is not read by build script #339

Closed
rlovtangen opened this issue Jul 22, 2015 · 3 comments
Closed

local.properties is not read by build script #339

rlovtangen opened this issue Jul 22, 2015 · 3 comments

Comments

@rlovtangen
Copy link
Contributor

When building documentation, grails-core source is downloaded, but this can be avoided:

Additionally you can create a local.properties file with this variable set:
grails.home=/home/user/projects/grails-core

(https://grails.github.io/grails-doc/3.0.3/guide/contributing.html#patchesDoc)

I can't get this to work. Tried with both absolute and relative path. Can't find any references to local.properties in build.gradle, the only references I find is in .gitignore and 4 .gdoc-files.

Pointing to grails core on the command line works. E.g.

./gradlew -Dgrails.home=/home/user/projects/grails-core docs
@anshbansal
Copy link
Contributor

I think this should be gradle.properties. What do you think?

@rlovtangen
Copy link
Contributor Author

Tried to put grails.home in gradle.properties, but still fetching grails source.

@anshbansal
Copy link
Contributor

I made a PR that fixes this. The build was not reading the project properties.

jdaugherty pushed a commit that referenced this issue Jan 16, 2025
* Revert "Update project to Groovy 3.0.19 (#339)" (#340)

This reverts commit 166db0a.

* Revert "Revert "Update project to Groovy 3.0.19 (#339)" (#340)" (#341)

This reverts commit 147212246f680efceddd84b62d69fcda42a4cfb1.

* Update gormVersion to v8.0.3

---------

Co-authored-by: Puneet Behl <behlp@unityfoundation.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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

No branches or pull requests

3 participants