Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.92 KB

File metadata and controls

36 lines (24 loc) · 1.92 KB

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Montonio Java SDK — a type-safe Java client for the Montonio payment gateway REST API (V2 + Stargate). Covers payment order lifecycle, payment method discovery, and JWT webhook/return validation. MIT licensed, owned by Bitweb.

Build & Test Commands

Requires Java 17 (managed via .sdkmanrc). Uses Gradle 9.4.1 with Groovy DSL.

./gradlew build                # full build
./gradlew test                 # all tests
./gradlew unitTest             # unit tests only (excludes @Tag("integration"))
./gradlew integrationTest      # integration tests only (@Tag("integration"))
./gradlew testAndReport        # all tests + jacoco reports
./gradlew test --tests 'com.example.MyTest.myMethod'  # single test

Devcontainer

A devcontainer configuration is provided in .devcontainer/devcontainer.json. It includes Java 17 (Temurin), Gradle (via wrapper), and GitHub CLI. Open the project in any devcontainer-compatible tool (VS Code, IntelliJ, GitHub Codespaces, Claude Code) to get a ready-to-use environment.

Skills

  • /brainstorming — Collaborative design session for new features, API coverage, or SDK improvements. Asks questions one at a time, proposes approaches with trade-offs, then outputs a design document to docs/plans/.
  • /issue-triage — Classify, prioritize, and label a GitHub issue. Pass an issue number or URL (e.g. /issue-triage 12), or run without an argument to triage recent untriaged issues; returns a structured summary with type, priority, affected code areas, and suggested labels.

Gradle Structure

Build is split across files following BitWeb conventions:

  • build.gradle — plugins, dependencies, Java config
  • test.gradle — JUnit Platform, jacoco, unit/integration test tasks
  • library.gradle — java-library, maven-publish, signing, nexus publishing