Skip to content

fix(build): fix Gradle 9.5 cross-project sourceSets access#163

Merged
fdelbrayelle merged 1 commit intomainfrom
fix/gradle-9-5-sourcesets-cross-project
May 7, 2026
Merged

fix(build): fix Gradle 9.5 cross-project sourceSets access#163
fdelbrayelle merged 1 commit intomainfrom
fix/gradle-9-5-sourcesets-cross-project

Conversation

@fdelbrayelle
Copy link
Copy Markdown
Member

Summary

  • Gradle 9.5 no longer allows accessing .sourceSets on a project() call inside a dependencies {} block — it returns DefaultProjectDependency, not Project
  • All 6 consumer submodules used project(':plugin-debezium').sourceSets.test.output, which breaks with Gradle 9.5
  • Fix: expose plugin-debezium test classes as a testJar artifact under a named testOutput configuration; all consumers now reference it via project(path: ':plugin-debezium', configuration: 'testOutput')

Test plan

  • CI passes on this PR

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fdelbrayelle fdelbrayelle requested review from a team and jymaire May 7, 2026 08:58
@fdelbrayelle fdelbrayelle self-assigned this May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

📦 Artifacts

Name Size Updated Expiration
jar 256.38 MB May 7, 26, 9:00:36 AM UTC May 14, 26, 9:00:26 AM UTC

🛡 Trivy

Vulnerability in: Java

Vulnerability Severity Package Installed Version Fixed Version
CVE-2025-59250 HIGH com.microsoft.sqlserver:mssql-jdbc 12.10.1 10.2.4.jre11, 11.2.4.jre11, 12.2.1.jre11, 12.6.5.jre11, 12.8.2.jre11, 12.10.2.jre11, 13.2.1.jre11
CVE-2026-42579 HIGH io.netty:netty-codec-dns 4.2.12.Final 4.2.13.Final, 4.1.133.Final
CVE-2026-42577 HIGH io.netty:netty-transport-native-epoll 4.2.12.Final 4.2.13.Final
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2025-67030 HIGH org.codehaus.plexus:plexus-utils 3.0.24 4.0.3, 3.6.1
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-2332 HIGH org.eclipse.jetty:jetty-http 12.0.31 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32
CVE-2026-1605 HIGH org.eclipse.jetty:jetty-server 12.0.31 12.1.6, 12.0.32

🧪 Java Unit Tests

TestsPassed ✅Skipped ⚠️FailedTime ⏱
Java Tests Report46 ran38 ✅8 ⚠️0 ❌3m 23s 831ms

🔁 Unreleased Commits

✅ No unreleased commits found.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Tests report quick summary:

success ✅ > tests: 46, success: 38, skipped: 8, failed: 0

unfold for details
Project Status Success Skipped Failed
plugin-debezium success ✅ 28 0 0
plugin-debezium-db2 success ✅ 3 0 0
plugin-debezium-mongodb success ✅ 3 0 0
plugin-debezium-mysql success ✅ 3 0 0
plugin-debezium-oracle success ✅ 3 0 0
plugin-debezium-postgres success ✅ 3 0 0
plugin-debezium-sqlserver success ✅ 3 0 0

@fdelbrayelle fdelbrayelle merged commit 171d81d into main May 7, 2026
5 of 7 checks passed
@fdelbrayelle fdelbrayelle deleted the fix/gradle-9-5-sourcesets-cross-project branch May 7, 2026 10:28
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