plugins { id 'ca.java-library' id 'java-test-fixtures' } // Framework-free application use-case contract. Runtime dependencies are project-only; // composition and diagnostic rendering belong to adapters/bootstrap. dependencies { // The direction the registry, AGENTS.md and the layer workflow all state: a use case orchestrates // the domain (review S1-#16). modules.json has allowed this edge all along; the build had lost it. implementation project(':domain-core') implementation project(':shared-contract') // Port contracts (`*Contract`) are abstract JUnit classes that fakes and adapters both extend. testFixturesImplementation project(':shared-contract') testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api' testFixturesImplementation 'org.assertj:assertj-core' // Use case tests run over the domain ports' fakes (a feature's in-memory repository and id // factory), which live with their owner in domain-core's test fixtures. testImplementation testFixtures(project(':domain-core')) } // Half of the root `verifyMessagingContracts`: the integration-event contract, run by name, no skips. strictTestLanes { lane('messagingApplicationContractQualificationTest') { description = 'Runs exact Messaging application contract qualification tests.' requires 'dev.caskeleton.application.messaging.contract.IntegrationEventContractContributionTest', 'dev.caskeleton.application.messaging.event.IntegrationEventDraftTest', 'dev.caskeleton.application.messaging.event.ValidatedIntegrationEventTest', 'dev.caskeleton.application.messaging.contract.ApplicationPayloadSchemaReleaseTest' rejectSkipped = true } }