Skip to content

Commit a6ed1a2

Browse files
authored
Initial commit
0 parents  commit a6ed1a2

Some content is hidden

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

46 files changed

+2248
-0
lines changed

.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
6+
charset = utf-8
7+
indent_style = space
8+
9+
[{*.sh,gradlew}]
10+
end_of_line = lf
11+
12+
[{*.bat,*.cmd}]
13+
end_of_line = crlf
14+
15+
[*.java]
16+
indent_size = 4
17+
tab_width = 4
18+
max_line_length = 100
19+
# Import order can be configured with ij_java_imports_layout=...
20+
# See documentation https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
21+
22+
[*.xml]
23+
indent_size = 4

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
*.java text eol=lf
5+
*.groovy text eol=lf
6+
*.html text eol=lf
7+
*.kt text eol=lf
8+
*.kts text eol=lf
9+
*.md text diff=markdown eol=lf
10+
*.py text diff=python executable
11+
*.pl text diff=perl executable
12+
*.pm text diff=perl
13+
*.css text diff=css eol=lf
14+
*.js text eol=lf
15+
*.sql text eol=lf
16+
*.q text eol=lf
17+
18+
*.sh text eol=lf
19+
gradlew text eol=lf
20+
21+
*.bat text eol=crlf
22+
*.cmd text eol=crlf
+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Bug Report
2+
description: File a bug report
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
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.
8+
9+
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/).
10+
- type: textarea
11+
attributes:
12+
label: Expected Behavior
13+
description: A concise description of what you expected to happen.
14+
placeholder: Tell us what should happen
15+
validations:
16+
required: false
17+
- type: textarea
18+
attributes:
19+
label: Actual Behaviour
20+
description: A concise description of what you're experiencing.
21+
placeholder: Tell us what happens instead
22+
validations:
23+
required: false
24+
- type: textarea
25+
attributes:
26+
label: Steps To Reproduce
27+
description: Steps to reproduce the behavior.
28+
placeholder: |
29+
1. In this environment...
30+
2. With this config...
31+
3. Run '...'
32+
4. See error...
33+
validations:
34+
required: false
35+
- type: textarea
36+
attributes:
37+
label: Environment Information
38+
description: Environment information where the problem occurs.
39+
placeholder: |
40+
- Operating System:
41+
- JDK Version:
42+
validations:
43+
required: false
44+
- type: input
45+
id: example
46+
attributes:
47+
label: Example Application
48+
description: Example application link.
49+
placeholder: |
50+
Link to GitHub repository with an example that reproduces the issue
51+
validations:
52+
required: false
53+
- type: input
54+
id: version
55+
attributes:
56+
label: Version
57+
description: Micronaut version
58+
validations:
59+
required: true
60+

.github/ISSUE_TEMPLATE/config.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
contact_links:
2+
- name: Micronaut Core Discussions
3+
url: https://github.com/micronaut-projects/micronaut-core/discussions
4+
about: Ask questions about Micronaut on Github
5+
- name: Micronaut Data Discussions
6+
url: https://github.com/micronaut-projects/micronaut-data/discussions
7+
about: Ask Micronaut Data related questions on Github
8+
- name: Stack Overflow
9+
url: https://stackoverflow.com/tags/micronaut
10+
about: Ask questions on Stack Overflow
11+
- name: Chat
12+
url: https://gitter.im/micronautfw/
13+
about: Chat with us on Gitter.
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Feature request
2+
description: Create a new feature request
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Please describe the feature you want for Micronaut to implement, before that check if there is already an existing issue to add it.
8+
- type: textarea
9+
attributes:
10+
label: Feature description
11+
placeholder: Tell us what feature you would like for Micronaut to have and what problem is it going to solve
12+
validations:
13+
required: true
14+

.github/ISSUE_TEMPLATE/other.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Other
2+
description: Something different
3+
body:
4+
- type: textarea
5+
attributes:
6+
label: Issue description
7+
validations:
8+
required: true
9+

.github/release.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- micronaut-build
5+
categories:
6+
- title: Breaking Changes 🛠
7+
labels:
8+
- 'type: breaking'
9+
- title: New Features 🎉
10+
labels:
11+
- 'type: enhancement'
12+
- title: Bug Fixes 🐞
13+
labels:
14+
- 'type: bug'
15+
- title: Improvements ⭐
16+
labels:
17+
- 'type: improvement'
18+
- title: Docs 📖
19+
labels:
20+
- 'type: docs'
21+
- title: Dependency updates 🚀
22+
labels:
23+
- 'type: dependency-upgrade'
24+
- 'dependency-upgrade'
25+
- title: Regressions 🧐
26+
labels:
27+
- 'type: regression'
28+
- title: GraalVM 🏆
29+
labels:
30+
- 'relates-to: graal'
31+
- title: Other Changes 💡
32+
labels:
33+
- "*"

.github/renovate.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": [
3+
"config:base"
4+
],
5+
"addLabels": ["type: dependency-upgrade"],
6+
"schedule": [
7+
"after 10pm every day"
8+
],
9+
"prHourlyLimit": 1,
10+
"prConcurrentLimit": 20,
11+
"timezone": "Europe/Prague",
12+
"packageRules": [
13+
{
14+
"matchPackagePatterns": ["actions.*"],
15+
"dependencyDashboardApproval": true
16+
}
17+
]
18+
}

.github/workflows/.rsync-filter

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- files-sync.yml
2+
- test-files-sync.yml
3+
- update-gradle-wrapper.yml
4+
- .rsync-filter
5+
- template-cleanup.yml

.github/workflows/central-sync.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# WARNING: Do not edit this file directly. Instead, go to:
2+
#
3+
# https://github.com/micronaut-projects/micronaut-project-template/tree/master/.github/workflows
4+
#
5+
# and edit them there. Note that it will be sync'ed to all the Micronaut repos
6+
name: Maven Central Sync
7+
on:
8+
workflow_dispatch:
9+
inputs:
10+
release_version:
11+
description: 'Release version (eg: 1.2.3)'
12+
required: true
13+
jobs:
14+
central-sync:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
with:
20+
ref: v${{ github.event.inputs.release_version }}
21+
- uses: gradle/wrapper-validation-action@v1
22+
- name: Set up JDK
23+
uses: actions/setup-java@v3
24+
with:
25+
distribution: 'temurin'
26+
java-version: '17'
27+
- name: Publish to Sonatype OSSRH
28+
env:
29+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
30+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
31+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
32+
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
33+
GPG_FILE: ${{ secrets.GPG_FILE }}
34+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
35+
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
36+
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
37+
run: |
38+
echo $GPG_FILE | base64 -d > secring.gpg
39+
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

0 commit comments

Comments
 (0)