Skip to content

Commit a9ad115

Browse files
authored
build: group renovate updates (#284)
1 parent d93f6da commit a9ad115

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

compatibility/build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.util.Properties
2+
13
plugins {
24
id("org.springframework.boot") version "3.0.1"
35
id("io.spring.dependency-management") version "1.1.0"
@@ -8,9 +10,16 @@ repositories {
810
mavenCentral()
911
}
1012

13+
val properties = Properties()
14+
properties.load(File(rootDir.parent, "gradle.properties").inputStream())
15+
for ((key, value) in properties) {
16+
this.ext[key.toString()] = value
17+
}
18+
19+
val annotationsVersion: String by project
1120
dependencies {
1221
implementation("com.apollographql.federation", "federation-graphql-java-support")
13-
implementation("org.jetbrains", "annotations", "23.1.0")
22+
implementation("org.jetbrains", "annotations", annotationsVersion)
1423
implementation("org.springframework.boot", "spring-boot-starter-actuator")
1524
implementation("org.springframework.boot", "spring-boot-starter-graphql")
1625
implementation("org.springframework.boot", "spring-boot-starter-web")

renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"matchPaths": ["gradle-wrapper.properties"],
1515
"labels": ["type: build"]
1616
},
17+
{
18+
"groupName": "Gradle version updates",
19+
"matchDatasources": ["docker"],
20+
"matchPackageNames": ["gradle"],
21+
"labels": ["type: build"]
22+
},
1723
{
1824
"groupName": "Protobuf",
1925
"matchPackagePrefixes": ["com.google.protobuf:"]

0 commit comments

Comments
 (0)