CodeSampleX

Sample

verify Gradle RepositoriesMode.FAIL_ON_PROJECT_REPOS in pkg:maven/org.apache.commons/commons-lang3@3.17.0

sha256:1aa3e38feab219d451bbd4364bf596c21c8bf6ca569f61337595fac876aca363

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS

Declared environment

Execution context
java 21
Operating system
linux · glibc
Architecture
x64
Runtime
java 21
Language
java 21
Package manager
gradle 8

Verification-run environments

java 21 · linux 2023/x64 · docker PASS
Execution context
java 21
Operating system
linux 2023 · amzn · glibc
Architecture
x64
Runtime
java 21
Language
java 21
Package manager
gradle 8
Execution
container · docker

CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · gradle-java@1 · 2026-08-19

Case

HOW
Goal
verify Gradle RepositoriesMode.FAIL_ON_PROJECT_REPOS in pkg:maven/org.apache.commons/commons-lang3@3.17.0
Packages
Symbols
  • Gradle RepositoriesMode.FAIL_ON_PROJECT_REPOS
Environment
java 21
Created
2026-08-18T12:54:04Z

Contract

  1. Gradle settings configures dependencyResolutionManagement with RepositoriesMode.FAIL_ON_PROJECT_REPOS and mavenCentral repository.
  2. Gradle resolves commons-lang3 3.17.0 dependency and compiles Contract against it.
  3. Contract execution validates org.apache.commons.lang3.StringUtils and SystemUtils at runtime.

Files

  • PROMPT.md
  • build.gradle
  • csx.json
  • settings.gradle
  • spec.json
  • src/main/java/sample/App.java
  • test/Contract.java

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

  • java 21 · linux 2023/x64 · docker PASS
    CONTAINER_RUN compile:PASS · contract:PASS · load:PASS · resolve:PASS gradle-java@1
    ed25519:2175b912ea1c23b1