Skip to content

Commit 1a4d51b

Browse files
feat: initialize kit-java library from common project
- Copy and rename from dev.sant1ago.common to dev.suprim.kit - 6 modules: core, json, exception, crypto, web, grpc - Configure JitPack deployment with jitpack.yml - GitHub Actions CI with Codecov coverage - Version 1.0.0
1 parent f1c99d3 commit 1a4d51b

60 files changed

Lines changed: 7340 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v4
21+
with:
22+
java-version: '17'
23+
distribution: 'temurin'
24+
cache: maven
25+
26+
- name: Build and test
27+
run: mvn -B clean package --file pom.xml
28+
29+
- name: Upload coverage to Codecov
30+
uses: codecov/codecov-action@v5
31+
with:
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
files: kit-java-core/target/site/jacoco/jacoco.xml,kit-java-json/target/site/jacoco/jacoco.xml,kit-java-exception/target/site/jacoco/jacoco.xml,kit-java-crypto/target/site/jacoco/jacoco.xml,kit-java-web/target/site/jacoco/jacoco.xml,kit-java-grpc/target/site/jacoco/jacoco.xml
34+
fail_ci_if_error: false

.gitignore

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,45 @@
1-
# Compiled class file
2-
*.class
1+
# Maven
2+
target/
3+
pom.xml.tag
4+
pom.xml.releaseBackup
5+
pom.xml.versionsBackup
6+
pom.xml.next
7+
release.properties
8+
dependency-reduced-pom.xml
9+
buildNumber.properties
10+
.mvn/timing.properties
11+
.mvn/wrapper/maven-wrapper.jar
312

4-
# Log file
5-
*.log
13+
# IDE
14+
.idea/
15+
*.iml
16+
*.ipr
17+
*.iws
18+
.project
19+
.classpath
20+
.settings/
21+
.vscode/
22+
*.swp
23+
*.swo
624

7-
# BlueJ files
8-
*.ctxt
25+
# OS
26+
.DS_Store
27+
Thumbs.db
928

10-
# Mobile Tools for Java (J2ME)
11-
.mtj.tmp/
29+
# Logs
30+
*.log
31+
logs/
1232

13-
# Package Files #
33+
# Build artifacts
1434
*.jar
1535
*.war
16-
*.nar
1736
*.ear
18-
*.zip
19-
*.tar.gz
20-
*.rar
2137

22-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23-
hs_err_pid*
24-
replay_pid*
38+
# Test output
39+
test-output/
40+
surefire-reports/
41+
42+
.claude
43+
.opencode
44+
CLAUDE.md
45+
AGENTS.md

.repomixignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
docs/*
2+
plans/*
3+
assets/*
4+
dist/*
5+
coverage/*
6+
build/*
7+
ios/*
8+
android/*
9+
tests/*
10+
__tests__/*
11+
__pycache__/*
12+
node_modules/*
13+
14+
.opencode/*
15+
.claude/*
16+
.serena/*
17+
.pnpm-store/*
18+
.github/*
19+
.dart_tool/*
20+
.idea/*
21+
.husky/*
22+
.venv/*

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.PHONY: build test install deploy clean help
2+
3+
help:
4+
@echo "Available targets:"
5+
@echo " make build - Compile all modules"
6+
@echo " make test - Run tests"
7+
@echo " make install - Install to local ~/.m2"
8+
@echo " make deploy - Build, test, deploy to GitLab Registry"
9+
@echo " make clean - Clean build artifacts"
10+
11+
build:
12+
mvn compile
13+
14+
test:
15+
mvn test
16+
17+
install:
18+
mvn install
19+
20+
deploy:
21+
mvn clean deploy
22+
23+
clean:
24+
mvn clean

0 commit comments

Comments
 (0)