Skip to content

Conversation

@nakamura-to
Copy link
Member

Summary

  • Added support for custom source sets to handle Java/Kotlin sources and resources in non-standard directories
  • Modified configuration to evaluate resource directories at task execution time rather than configuration time
  • Added test cases with common source sets to verify the functionality

Test plan

  • Added custom source set configuration to compile-java-test and compile-kotlin-test projects
  • Created Department entity and DAO in common source directories
  • Updated GenerationTest to verify that annotation processing works with custom source sets
  • All existing tests pass without regression

🤖 Generated with Claude Code

- Configure Java and Kotlin projects to include custom source directories
- Add test cases for entities and DAOs in custom source locations
- Defer Kotlin configuration until after project evaluation to ensure proper source set resolution
- Update JavaCompileConfigurator to resolve resource directories at task execution time

This enables users to define entities and DAOs in non-standard source locations while maintaining Doma's annotation processing capabilities.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@github-actions github-actions bot added the fix label Jun 30, 2025
@nakamura-to nakamura-to merged commit d0b8292 into master Jun 30, 2025
2 checks passed
@nakamura-to nakamura-to deleted the fix/custom-source-set branch June 30, 2025 12:49
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.

非標準な構造のプロジェクトでv4.0.0以降ビルドエラーになる

2 participants