liuneng1994 opened a new pull request, #11576: URL: https://github.com/apache/incubator-gluten/pull/11576
## What changes are proposed in this pull request? Add a complete Gradle build system that coexists with the existing Maven build. This enables developers to choose their preferred build tool while maintaining full feature parity. **Features:** - Root Gradle configuration with version catalog (`libs.versions.toml`) - Convention plugins for common patterns (Scala, shading, native, spotless) - All core modules with proper dependencies - Multi-version support (Spark 3.3-4.1, Scala 2.12/2.13, Java 8-21) - Backend selection (Velox, ClickHouse) via `-Pbackend` property - Native C++ build integration via CMake - Dependency shading with Shadow plugin Default configuration: Spark 4.1, Scala 2.13, Java 17, Velox backend **Usage examples:** ```bash ./gradlew build # Default build ./gradlew build -PsparkVersion=3.5 # Spark 3.5 ./gradlew build -Pbackend=clickhouse # ClickHouse backend ./gradlew build -Pdelta=true -Piceberg=true # With optional modules ``` ## How was this patch tested? Local build and compilation verification with multiple Spark versions and backend configurations. ## Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.5 (Anthropic) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
