Skip to content

chore: replace deprecated Gradle configuration APIs#28

Draft
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1783933868-refresh-gradle-api
Draft

chore: replace deprecated Gradle configuration APIs#28
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1783933868-refresh-gradle-api

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace deprecated Gradle convention properties with the current java and application extension APIs while preserving Java 8 compatibility and the Hello entry point.

The LaunchDarkly Java server SDK constraint remains 7+: Maven Central and Gradle both resolve it to 7.14.0, the latest published release, so no SDK version change is needed. The application uses no deprecated LaunchDarkly SDK APIs.

Tested with:

  • ./gradlew clean build --warning-mode all
  • CI=true LAUNCHDARKLY_SDK_KEY=... ./gradlew run --warning-mode all (SDK initialized and evaluated sample-feature)

Link to Devin session: https://app.devin.ai/sessions/8a5b6c5b831f43098bf7440772e83035


Note

Low Risk
Build-only Gradle API updates with no application, dependency, or SDK logic changes.

Overview
Updates Gradle build configuration to silence deprecation warnings without changing runtime behavior.

Java toolchain — Replaces the removed allprojects { sourceCompatibility / targetCompatibility } block with the java { } extension and JavaVersion.VERSION_1_8 for both source and target, preserving Java 8.

Application plugin — Renames mainClassName to mainClass on the application block so the Hello entry point stays the same.

Dependencies (LaunchDarkly server SDK 7+) and repositories are untouched.

Reviewed by Cursor Bugbot for commit 608b4e4. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot requested a review from a team as a code owner July 13, 2026 09:12
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot marked this pull request as draft July 13, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants