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

UPSE-285: address Gradle file issue which seems more prominent when u… #613

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

groybal
Copy link
Contributor

@groybal groybal commented Jan 4, 2023

…sing Java 11

Checklist
Description of change

Updated how files are used in Gradle scripts in order to avoid issue where Gradle uses current-working-directory (CWD) that is not the project directory, and problems can arise when files are then not found. This issue was found when testing with Java 11, and the issue caused portal.home to be set to the wrong directory.
See: https://docs.gradle.org/current/userguide/working_with_files.html#sec:single_file_paths

Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @groybal!
Have you had a chance to check out the CI failure? It seems to point to missing properties on some of the variables.

overlays/uPortal/build.gradle Outdated Show resolved Hide resolved
@groybal groybal mentioned this pull request Jan 9, 2023
@groybal groybal force-pushed the UPSE-285 branch 2 times, most recently from 689b9a7 to ca4f9ea Compare January 9, 2023 12:39
Copy link
Member

@bjagg bjagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@bjagg bjagg merged commit 99d6f65 into uPortal-Project:master Jan 11, 2023
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.

3 participants