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

Make project relocatable by using relative paths in the OSGi test task #2920

Merged
merged 3 commits into from Feb 21, 2023

Conversation

dragos
Copy link
Contributor

@dragos dragos commented Feb 21, 2023

Make classpath elements and sources use relative paths, instead of the default absolute paths. This makes the build more cacheable when the checkout locations are different on the file system.

I discovered this while trying Gradle Enterprise, and a public build scan that shows everything comes from the cache is here.

subprojects/osgi-test/osgi-test.gradle Outdated Show resolved Hide resolved
subprojects/osgi-test/osgi-test.gradle Outdated Show resolved Hide resolved
subprojects/osgi-test/osgi-test.gradle Show resolved Hide resolved
dragos and others added 2 commits February 21, 2023 10:50
Co-authored-by: Nelson Osacky <nelson@osacky.com>
Co-authored-by: Nelson Osacky <nelson@osacky.com>
Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

Thank you!

@TimvdLippe TimvdLippe merged commit 4eb275c into mockito:main Feb 21, 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.

None yet

3 participants