Skip to content

Commit 4109ec1

Browse files
authored
Merge pull request #1219 from gounthar/gitpodify
chore: add Gitpod configuration for Java workspace
2 parents 7a3836b + 38d69bf commit 4109ec1

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
- package-ecosystem: "docker"
13+
directory: "/" # Location of .gitpod.yml
14+
schedule:
15+
interval: "weekly"

.gitpod.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
image: gitpod/workspace-java-21:2025-09-22-12-51-14
2+
3+
github:
4+
prebuilds:
5+
# Enable for the default branch
6+
main: true
7+
# Enable for all branches
8+
branches: true
9+
# Enable for pull requests coming from this repo
10+
pullRequests: true
11+
# Enable for pull requests coming from forks
12+
pullRequestsFromForks: false
13+
# Add a check to pull requests
14+
addCheck: true
15+
# Add a "Review in Gitpod" button as a comment to pull requests
16+
addComment: true
17+
# Add a "Review in Gitpod" button to the pull request's description
18+
addBadge: false
19+
20+
tasks:
21+
- name: Maven Build
22+
# Prebuild: install dependencies and compile
23+
init: mvn -B -DskipTests=true install
24+
# Ready: just run tests to verify everything works
25+
command: mvn -q test && echo "✅ Workspace ready! All tests passed."
26+
27+
vscode:
28+
extensions:
29+
- vscjava.vscode-java-pack

0 commit comments

Comments
 (0)