Skip to content

Commit 2ef577f

Browse files
committed
Initial commit
0 parents  commit 2ef577f

Some content is hidden

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

41 files changed

+5069
-0
lines changed

.github/workflows/workflow.yaml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build Plugin JAR File
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
submodules: true
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v2
16+
with:
17+
distribution: 'temurin'
18+
cache: 'gradle'
19+
java-version: 17
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 16
24+
- uses: pnpm/[email protected]
25+
name: Install pnpm
26+
id: pnpm-install
27+
with:
28+
version: 7
29+
run_install: false
30+
- name: Get pnpm store directory
31+
id: pnpm-cache
32+
run: |
33+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
34+
- uses: actions/cache@v3
35+
name: Setup pnpm cache
36+
with:
37+
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
38+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/admin-frontend/pnpm-lock.yaml') }}
39+
restore-keys: |
40+
${{ runner.os }}-pnpm-store-
41+
- name: Install Frontend Dependencies
42+
run: |
43+
./gradlew pnpmInstall
44+
- name: Build with Gradle
45+
run: |
46+
./gradlew clean build -x test
47+
- name: Archive plugin-template jar
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: plugin-template
51+
path: |
52+
build/libs/*-plain.jar
53+
retention-days: 1

.gitignore

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
### Maven
2+
target/
3+
logs/
4+
!.mvn/wrapper/maven-wrapper.jar
5+
6+
### Gradle
7+
.gradle
8+
/build/
9+
/out/
10+
!gradle/wrapper/gradle-wrapper.jar
11+
bin/
12+
13+
### STS ###
14+
.apt_generated
15+
.classpath
16+
.factorypath
17+
.project
18+
.settings
19+
.springBeans
20+
.sts4-cache
21+
22+
### IntelliJ IDEA ###
23+
.idea
24+
*.iws
25+
*.iml
26+
*.ipr
27+
log/
28+
29+
### NetBeans ###
30+
nbproject/private/
31+
build/
32+
nbbuild/
33+
dist/
34+
nbdist/
35+
.nb-gradle/
36+
37+
### Mac
38+
.DS_Store
39+
*/.DS_Store
40+
41+
### VS Code ###
42+
*.project
43+
*.factorypath
44+
45+
### Compiled class file
46+
*.class
47+
48+
### Log file
49+
*.log
50+
51+
### BlueJ files
52+
*.ctxt
53+
54+
### Mobile Tools for Java (J2ME)
55+
.mtj.tmp/
56+
57+
### Package Files
58+
*.war
59+
*.nar
60+
*.ear
61+
*.zip
62+
*.tar.gz
63+
*.rar
64+
65+
### VSCode
66+
.vscode
67+
68+
### Local file
69+
application-local.yml
70+
application-local.yaml
71+
application-local.properties

0 commit comments

Comments
 (0)