Add Gradle build system support #152
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds Gradle as an alternative build system alongside Maven. Infrastructure is complete; module-specific dependency migration remains optional.
Core Infrastructure
gradlew,gradlew.bat)build.gradle.kts) - Kotlin 2.2.20, Spring Boot 3.3.8, Java 17 targetsettings.gradle.kts) - all 38 modules definedgradle/libs.versions.toml) - centralized dependency management for 30+ librariesConfiguration
Module Migration Template
Example for
pulsar-core/pulsar-common/build.gradle.kts:dependencies { implementation(rootProject.libs.spring.core) implementation(rootProject.libs.guava) implementation(rootProject.libs.httpclient5) // Map from pom.xml as needed }Documentation
GRADLE.md- usage guide, migration patterns, troubleshootingdocs/development/build.md- comparison of Maven vs Gradle workflowsStatus
Working: Infrastructure complete, all 38 modules recognized, publishing configured
Pending: Individual module
build.gradle.ktsfiles (templates provided)Both build systems coexist - Maven remains primary and fully functional.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.