Skip to content

Commit 3bb3fb7

Browse files
committed
Initial commit
0 parents  commit 3bb3fb7

File tree

14 files changed

+1224
-0
lines changed

14 files changed

+1224
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# EditorConfig: https://editorconfig.org/
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
12+
# 2 space indentation for java, xml and yml files
13+
[*.{java,xml,yml,sh}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[*.java]
18+
# $ = static, | = blank line
19+
ij_java_imports_layout = $*, |, java.**, javax.**, |, org.**, | *
20+
# no * imports
21+
ij_java_class_count_to_use_import_on_demand = 999
22+
ij_java_names_count_to_use_import_on_demand = 999
23+
24+
# Maven POM code convention
25+
[pom.xml]
26+
max_line_length = 205

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Dependency Graph
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
13+
dependency_graph:
14+
15+
name: Update
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Java
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: '21'
24+
distribution: 'zulu'
25+
cache: maven
26+
- name: Update dependency graph
27+
uses: advanced-security/maven-dependency-submission-action@v4

.github/workflows/main.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
7+
8+
jobs:
9+
10+
java-21:
11+
12+
name: Java 21 (${{ matrix.os }})
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ ubuntu-latest, macOS-latest, windows-latest ]
17+
runs-on: ${{ matrix.os }}
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up Java
22+
uses: actions/setup-java@v4
23+
with:
24+
java-version: '21'
25+
distribution: 'zulu'
26+
cache: maven
27+
- name: Test
28+
run: ./mvnw $MAVEN_ARGS verify
29+
30+
java-oracle:
31+
32+
name: Java ${{ matrix.java }}
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
java: [23, 24, 25]
37+
runs-on: ubuntu-latest
38+
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Set up Java
42+
uses: oracle-actions/setup-java@v1
43+
with:
44+
website: jdk.java.net
45+
release: ${{ matrix.java }}
46+
version: latest
47+
- name: Test
48+
run: ./mvnw $MAVEN_ARGS verify
49+
50+
javadoc:
51+
52+
name: Javadoc
53+
runs-on: ubuntu-latest
54+
55+
steps:
56+
- uses: actions/checkout@v4
57+
- name: Set up Java
58+
uses: actions/setup-java@v4
59+
with:
60+
java-version: '21'
61+
distribution: 'zulu'
62+
cache: maven
63+
- name: Generate Javadoc
64+
run: ./mvnw $MAVEN_ARGS compile javadoc:javadoc

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#Maven build result directory
2+
target
3+
#IntelliJ project files
4+
.idea/*
5+
!/.idea/icon.svg
6+
*.iml
7+
out
8+
#Eclipse project files
9+
.settings
10+
.classpath
11+
.project
12+
.externalToolBuilders/
13+
#Other
14+
/clover.license
15+
/actual.txt
16+
/expected.txt
17+
/.vscode
18+
#jEnv configuration
19+
.java-version
20+
dependency-reduced-pom.xml
21+
.flattened-pom.xml
22+
/bin/
23+
.mvn/wrapper/maven-wrapper.jar
24+
# macOS specific files
25+
.DS_Store

.idea/icon.svg

Lines changed: 159 additions & 0 deletions
Loading
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

0 commit comments

Comments
 (0)