File tree 5 files changed +37
-67
lines changed
5 files changed +37
-67
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+
4
+ - package-ecosystem : " maven"
5
+ directories :
6
+ - " /initial"
7
+ - " /complete"
8
+ ignore :
9
+ - dependency-name : " *"
10
+ update-types : ["version-update:semver-patch"]
11
+ schedule :
12
+ interval : " monthly"
13
+ target-branch : " main"
14
+ groups :
15
+ guide-dependencies-maven :
16
+ patterns :
17
+ - " *"
18
+
19
+ - package-ecosystem : " gradle"
20
+ directories :
21
+ - " /initial"
22
+ - " /complete"
23
+ ignore :
24
+ - dependency-name : " *"
25
+ update-types : ["version-update:semver-patch"]
26
+ schedule :
27
+ interval : " monthly"
28
+ target-branch : " main"
29
+ groups :
30
+ guide-dependencies-gradle :
31
+ patterns :
32
+ - " *"
Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
build :
13
- name : Build Main Branch
14
- runs-on : ubuntu-latest
15
-
16
- steps :
17
- - name : Checkout source code
18
- uses : actions/checkout@v3
19
-
20
- - name : Set up JDK 17
21
- uses : actions/setup-java@v3
22
- with :
23
- java-version : ' 17'
24
- distribution : ' temurin'
25
- cache : maven
26
-
27
- - name : Build Initial with Maven
28
- working-directory : ./initial
29
- run : ./mvnw --batch-mode clean package
30
-
31
- - name : Build Initial with Gradle
32
- working-directory : ./initial
33
- run : ./gradlew build
34
-
35
- - name : Build Complete with Maven
36
- working-directory : ./complete
37
- run : ./mvnw --batch-mode clean package
38
-
39
- - name : Build Complete with Gradle
40
- working-directory : ./complete
41
- run : ./gradlew build
13
+ uses : spring-guides/getting-started-macros/.github/workflows/build_initial_complete_maven_gradle.yml@main
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' org.springframework.boot' version ' 3.3.0'
3
- id ' io.spring.dependency-management' version ' 1.1.5'
4
3
id ' java'
5
4
}
6
5
6
+ apply plugin : ' io.spring.dependency-management'
7
+
7
8
group = ' com.example'
8
9
version = ' 0.0.1-SNAPSHOT'
9
10
sourceCompatibility = ' 17'
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' org.springframework.boot' version ' 3.3.0'
3
- id ' io.spring.dependency-management' version ' 1.1.5'
4
3
id ' java'
5
4
}
6
5
6
+ apply plugin : ' io.spring.dependency-management'
7
+
7
8
group = ' com.example'
8
9
version = ' 0.0.1-SNAPSHOT'
9
10
sourceCompatibility = ' 17'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments