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

Gradle tweaks #10

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Gradle tweaks #10

merged 3 commits into from
Aug 5, 2024

Conversation

snazy
Copy link
Member

@snazy snazy commented Jul 30, 2024

  • configure-on-demand
  • replace usages of deprecated Gradle APIs

eric-maynard pushed a commit to eric-maynard/polaris that referenced this pull request Jul 30, 2024
…licit properties (apache#10)

* Fix log format to include key-value pairs from autogenerated stubs logging
request params.

* Split out a CallContext that is distinct from RealmContext and make
the interfaces more explicit for now to be clear about what we
expect to parse for each one. Define a convention for parsing
realm, user, and role out from the bearer token for testing purposes.
eric-maynard pushed a commit to eric-maynard/polaris that referenced this pull request Jul 30, 2024
@snazy snazy marked this pull request as ready for review July 31, 2024 18:57
build.gradle Outdated
project(":polaris-core") {
apply plugin: "java-library"
}
// Note: polaris-core seemed to be for Java 11, but uses functions that are introduced in later Java versions
Copy link
Member

Choose a reason for hiding this comment

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

then shouldn't we just change the version? I'm confused why we would have this workaround?

@RussellSpitzer
Copy link
Member

I really think we should break this one into separate PR's. The posfix -> . refactor I think is good but we are also doing a bunch of other things here.

@snazy snazy requested a review from a team as a code owner August 5, 2024 07:24
* configure-on-demand
* replace usages of deprecated Gradle APIs
@snazy snazy force-pushed the gradle-adoptions branch 2 times, most recently from 85bb9d1 to 2f4151b Compare August 5, 2024 07:28
@snazy
Copy link
Member Author

snazy commented Aug 5, 2024

I really think we should break this one into separate PR's. The posfix -> . refactor I think is good but we are also doing a bunch of other things here.

That's all for the "replace deprecated Gradle API" part (buildDir is deprecated).
sourceCompatibility/targetCompatibiltiy didn't really work, see #76 (usage of newer Java APIs).


project(":polaris-service") {
apply plugin: "application"
Copy link
Member

Choose a reason for hiding this comment

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

For my own reference, Plugin specification is moved into project specific build files.

@snazy snazy merged commit 1f6655b into apache:main Aug 5, 2024
3 checks passed
@snazy snazy deleted the gradle-adoptions branch August 5, 2024 09:12
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.

2 participants