generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f2a2846
Showing
46 changed files
with
2,256 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
|
||
[{*.sh,gradlew}] | ||
end_of_line = lf | ||
|
||
[{*.bat,*.cmd}] | ||
end_of_line = crlf | ||
|
||
[{*.mustache,*.ftl}] | ||
insert_final_newline = false | ||
|
||
[*.java] | ||
indent_size = 4 | ||
tab_width = 4 | ||
max_line_length = 100 | ||
# Import order can be configured with ij_java_imports_layout=... | ||
# See documentation https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0 | ||
|
||
[*.xml] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
*.java text eol=lf | ||
*.groovy text eol=lf | ||
*.html text eol=lf | ||
*.kt text eol=lf | ||
*.kts text eol=lf | ||
*.md text diff=markdown eol=lf | ||
*.py text diff=python executable | ||
*.pl text diff=perl executable | ||
*.pm text diff=perl | ||
*.css text diff=css eol=lf | ||
*.js text eol=lf | ||
*.sql text eol=lf | ||
*.q text eol=lf | ||
|
||
*.sh text eol=lf | ||
gradlew text eol=lf | ||
|
||
*.bat text eol=crlf | ||
*.cmd text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for reporting an issue, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed. | ||
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Github Discussions :arrow_up:, [Stack Overflow](https://stackoverflow.com/tags/micronaut) or [Gitter](https://gitter.im/micronautfw/). | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
placeholder: Tell us what should happen | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Actual Behaviour | ||
description: A concise description of what you're experiencing. | ||
placeholder: Tell us what happens instead | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. In this environment... | ||
2. With this config... | ||
3. Run '...' | ||
4. See error... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Environment Information | ||
description: Environment information where the problem occurs. | ||
placeholder: | | ||
- Operating System: | ||
- JDK Version: | ||
validations: | ||
required: false | ||
- type: input | ||
id: example | ||
attributes: | ||
label: Example Application | ||
description: Example application link. | ||
placeholder: | | ||
Link to GitHub repository with an example that reproduces the issue | ||
validations: | ||
required: false | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: Micronaut version | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
contact_links: | ||
- name: Micronaut Core Discussions | ||
url: https://github.com/micronaut-projects/micronaut-core/discussions | ||
about: Ask questions about Micronaut on Github | ||
- name: Micronaut Data Discussions | ||
url: https://github.com/micronaut-projects/micronaut-data/discussions | ||
about: Ask Micronaut Data related questions on Github | ||
- name: Stack Overflow | ||
url: https://stackoverflow.com/tags/micronaut | ||
about: Ask questions on Stack Overflow | ||
- name: Chat | ||
url: https://gitter.im/micronautfw/ | ||
about: Chat with us on Gitter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Feature request | ||
description: Create a new feature request | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please describe the feature you want for Micronaut to implement, before that check if there is already an existing issue to add it. | ||
- type: textarea | ||
attributes: | ||
label: Feature description | ||
placeholder: Tell us what feature you would like for Micronaut to have and what problem is it going to solve | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Other | ||
description: Something different | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Issue description | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
changelog: | ||
exclude: | ||
authors: | ||
- micronaut-build | ||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- 'type: breaking' | ||
- title: New Features 🎉 | ||
labels: | ||
- 'type: enhancement' | ||
- title: Bug Fixes 🐞 | ||
labels: | ||
- 'type: bug' | ||
- title: Improvements ⭐ | ||
labels: | ||
- 'type: improvement' | ||
- title: Docs 📖 | ||
labels: | ||
- 'type: docs' | ||
- title: Dependency updates 🚀 | ||
labels: | ||
- 'type: dependency-upgrade' | ||
- 'dependency-upgrade' | ||
- title: Regressions 🧐 | ||
labels: | ||
- 'type: regression' | ||
- title: GraalVM 🏆 | ||
labels: | ||
- 'relates-to: graal' | ||
- title: Other Changes 💡 | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"addLabels": ["type: dependency-upgrade"], | ||
"schedule": [ | ||
"after 10pm every day" | ||
], | ||
"prHourlyLimit": 1, | ||
"prConcurrentLimit": 20, | ||
"timezone": "Europe/Prague", | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": ["actions.*"], | ||
"dependencyDashboardApproval": true, | ||
"matchUpdateTypes": ["patch"], | ||
"matchCurrentVersion": "!/^0/", | ||
"automerge": true | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"matchCurrentVersion": "!/^0/", | ||
"automerge": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- files-sync.yml | ||
- test-files-sync.yml | ||
- update-gradle-wrapper.yml | ||
- .rsync-filter | ||
- template-cleanup.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# WARNING: Do not edit this file directly. Instead, go to: | ||
# | ||
# https://github.com/micronaut-projects/micronaut-project-template/tree/master/.github/workflows | ||
# | ||
# and edit them there. Note that it will be sync'ed to all the Micronaut repos | ||
name: Maven Central Sync | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release_version: | ||
description: 'Release version (eg: 1.2.3)' | ||
required: true | ||
jobs: | ||
central-sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: v${{ github.event.inputs.release_version }} | ||
- uses: gradle/wrapper-validation-action@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Publish to Sonatype OSSRH | ||
env: | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} | ||
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} | ||
GPG_FILE: ${{ secrets.GPG_FILE }} | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} | ||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} | ||
run: | | ||
echo $GPG_FILE | base64 -d > secring.gpg | ||
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository |
Oops, something went wrong.