Skip to content

Swap Clinical Reasoning from Maven to Gradle#931

Merged
JPercival merged 7 commits intomasterfrom
feature-gradle-2
Feb 23, 2026
Merged

Swap Clinical Reasoning from Maven to Gradle#931
JPercival merged 7 commits intomasterfrom
feature-gradle-2

Conversation

@JPercival
Copy link
Copy Markdown
Contributor

Build and Test Commands

Building the Project

# Full build with tests
./gradlew build

# Build without tests
./gradlew assemble

# Compile only
./gradlew compileJava

# Parallel build (enabled by default via gradle.properties)
./gradlew build

Running Tests

# Run all tests
./gradlew test

# Run tests in a specific module
./gradlew :cqf-fhir-cr:test

# Run a single test class
./gradlew :MODULE:test --tests ClassName

# Run a single test method
./gradlew :MODULE:test --tests "ClassName.methodName"

# Run integration tests
./gradlew integrationTest

# Skip tests
./gradlew assemble

Code Formatting and Quality

# Check code formatting (runs in CI on PRs)
./gradlew spotlessCheck

# Apply code formatting fixes
./gradlew spotlessApply

# This project uses Palantir Java Format (configured in buildSrc convention plugins)
# Checkstyle runs automatically as part of the build

Other Useful Commands

# Generate Javadocs
./gradlew javadoc

# Build CLI fat JAR
./gradlew :cqf-fhir-cr-cli:bootJar

# Publish to local Maven repository
./gradlew publishToMavenLocal


JPercival and others added 3 commits February 19, 2026 21:57
JUnit 5.10.2→5.14.3, SLF4J 2.0.4→2.0.17, Spring Security 6.4.12→6.4.13,
Picocli 4.6.1→4.7.7, JMH 1.36→1.37, Commons Compress 1.26.0→1.28.0,
Commons Codec 1.17.2→1.21.0, Mockito 5.5.0→5.21.0, Hamcrest 1.3→3.0
(hamcrest-all→hamcrest), JSONAssert 1.5.1→1.5.3, EqualsVerifier 3.15.6→4.3.1,
slf4j-test 3.0.1→3.0.3, JaCoCo 0.8.13→0.8.14, Palantir Format 2.50.0→2.88.0.
Fix javadoc warnings in PopulationDef.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 21, 2026

Formatting check succeeded!

Comment thread build-logic/src/main/kotlin/cqf.java-conventions.gradle.kts Outdated
Comment thread build-logic/src/main/kotlin/cqf.publishing-conventions.gradle.kts Outdated
Comment thread AGENTS.md
Comment thread gradle/libs.versions.toml
Comment thread gradlew
Comment thread cqf-fhir-bom/build.gradle.kts Outdated
Comment thread cqf-fhir-cr/build.gradle.kts Outdated
Copy link
Copy Markdown
Contributor

@lukedegruchy lukedegruchy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with suggested fixes.

JPercival and others added 3 commits February 23, 2026 13:13
…cs to README

Extract project properties to local variables in build scripts to avoid
capturing non-serializable Project references in lazy configuration lambdas.
Add Building section to README covering build commands, dependency version
management, and Gradle wrapper upgrades.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@JPercival JPercival merged commit 9696e34 into master Feb 23, 2026
7 of 9 checks passed
@JPercival JPercival deleted the feature-gradle-2 branch February 23, 2026 22:16
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