Skip to content

Commit 9df635c

Browse files
authored
Initial commit
0 parents  commit 9df635c

35 files changed

+2144
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 4
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*{.yml,yaml}]
10+
indent_style = space
11+
indent_size = 2

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto eol=lf
2+
3+
*.bat text eol=crlf
4+
*.jar binary
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
## 🐛 Describe the bug
7+
<!-- A clear and concise description of what the bug is. -->
8+
9+
## ⚠️ Current behavior
10+
<!-- A clear and concise description of what you expected to happen. -->
11+
12+
## ✅ Expected behavior
13+
<!-- A clear and concise description of what you expected to happen. -->
14+
15+
## 💣 Steps to reproduce
16+
<!-- How we can reproduce the behavior: -->
17+
18+
## 📷 Screenshots
19+
<!-- If applicable, add screenshots to help explain your problem. -->
20+
21+
## 📱 Tech info
22+
- Device: <!-- e.g. Nexus One -->
23+
- OS: <!-- e.g. 7.1.1 -->
24+
- Library/App version: <!-- e.g. 1.0.0 -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
## ⚠️ Is your feature request related to a problem? Please describe
7+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
8+
9+
## 💡 Describe the solution you'd like
10+
<!-- A clear and concise description of what you want to happen. -->
11+
12+
## 🤚 Do you want to develop this feature yourself?
13+
<!-- Put an `x` symbol into braces of desired choice. -->
14+
- [ ] Yes
15+
- [ ] No

.github/PULL_REQUEST_TEMPLATE

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!-- Thanks for taking the time to write this Pull Request ❤️ -->
2+
3+
## 🚀 Description
4+
<!-- Describe your changes in detail -->
5+
6+
## 📄 Motivation and Context
7+
<!-- Why is this change required? What problem does it solve? -->
8+
<!-- If it fixes an open issue, please link to the issue here. -->
9+
10+
## 🧪 How Has This Been Tested?
11+
<!-- Please describe in detail how you tested your changes. -->
12+
<!-- Include details of your testing environment, tests ran to see how -->
13+
<!-- your change affects other areas of the code, etc. -->
14+
15+
## 📦 Types of changes
16+
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
17+
- [ ] Bug fix (non-breaking change which fixes an issue)
18+
- [ ] New feature (non-breaking change which adds functionality)
19+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
20+
21+
## ✅ Checklist
22+
<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->
23+
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
24+
- [ ] My code follows the code style of this project.
25+
- [ ] My change requires a change to the documentation.
26+
- [ ] I have updated the documentation accordingly.

.github/renovate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"labels": [
3+
"dependencies"
4+
],
5+
"extends": [
6+
"config:base"
7+
]
8+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Validate Gradle Wrapper
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- '*'
9+
10+
jobs:
11+
validation:
12+
name: Validation
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout latest code
16+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
17+
- name: Validate Gradle Wrapper
18+
uses: gradle/wrapper-validation-action@v2
19+

.github/workflows/pre-merge.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Pre Merge Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
gradle:
13+
strategy:
14+
matrix:
15+
os: [ ubuntu-latest, macos-latest, windows-latest ]
16+
runs-on: ${{ matrix.os }}
17+
env:
18+
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
19+
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
20+
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
21+
steps:
22+
- name: Checkout Repo
23+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
24+
- name: Cache Gradle Caches
25+
uses: gradle/gradle-build-action@v3
26+
- name: Run Gradle tasks
27+
run: ./gradlew preMerge --continue
28+
29+
# We do a run of the new task `templateExample` created by the plugin
30+
- name: Run the plugin
31+
run: ./gradlew templateExample --message="Test Run" --tag=CI
32+
if: success()
33+
# And we verify that the output of the file is correct.
34+
- name: Verify the plugin output
35+
run: grep -Fxq "[CI] Test Run" ./example/build/template-example.txt
36+
if: success()
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Plugin to Portal
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
gradle:
10+
runs-on: ubuntu-latest
11+
env:
12+
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
13+
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
14+
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
15+
steps:
16+
- name: Checkout Repo
17+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
18+
- name: Cache Gradle Caches
19+
uses: gradle/gradle-build-action@v3
20+
- name: Run Gradle tasks
21+
run: ./gradlew preMerge --continue
22+
- name: Publish on Plugin Portal
23+
run: ./gradlew --project-dir plugin-build setupPluginUploadFromEnvironment publishPlugins
24+
if: success()

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.iml
2+
.DS_Store
3+
.gradle
4+
/local.properties
5+
/.idea/caches
6+
/.idea/libraries
7+
/.idea/modules.xml
8+
/.idea/workspace.xml
9+
/.idea/navEditor.xml
10+
/.idea/assetWizardSettings.xml
11+
build

0 commit comments

Comments
 (0)