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

feat: add gradle connector tasks file #53638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Purpose

Add shared task definitions for Java/Kotlin connectors using Gradle, mirroring the existing poetry-connector-tasks.toml pattern but mapping commands to appropriate gradle tasks.

Task Mapping

  • test -> gradle test task
  • test-fast -> gradle test with skipSlowTests=true
  • integration-test -> integrationTestJava (docker mode)
  • integration-test-fast -> integrationTestNonDocker
  • check-compile -> compileKotlin
  • check-spotbugs -> spotbugsMain
  • format -> spotlessApply

Example Usage

cd airbyte-integrations/connectors/source-mysql
poe test-fast  # Runs fast tests only
poe check-all  # Runs all checks
poe format     # Formats the code

Testing

  • Created and validated task definitions
  • Confirmed gradle task names match actual tasks in airbyte-bulk-connector plugin
  • Tested path construction using PWD parameter

Link to Devin run: https://app.devin.ai/sessions/ede7388cf8984d6b9858b51bc3d5ac31

Add shared task definitions for Java/Kotlin connectors using Gradle.
This mirrors the existing poetry-connector-tasks.toml pattern
but maps commands to appropriate gradle tasks.

Co-Authored-By: Aaron <AJ> Steers <[email protected]>
@devin-ai-integration devin-ai-integration bot requested a review from a team as a code owner February 11, 2025 20:22
Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 8:28pm

Copy link
Contributor Author

🤖 Devin AI Engineer

Original prompt from Aaron:

@Devin - I want to create a poe tasks file for java/kotlin connectors, which mirrors the task definitions we've created for python connectors. Let's duplicate the python connectors tasks file and make a java tasks file. Then, in one sample java connector, source-mysql, let's use Poe's yaml format and 'include' syntax to link over to our new java connectors task file (in toml).

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 and CI monitoring

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.

2 participants