File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ import java.util.Properties
2
+
1
3
plugins {
2
4
id(" org.springframework.boot" ) version " 3.0.1"
3
5
id(" io.spring.dependency-management" ) version " 1.1.0"
@@ -8,9 +10,16 @@ repositories {
8
10
mavenCentral()
9
11
}
10
12
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
11
20
dependencies {
12
21
implementation(" com.apollographql.federation" , " federation-graphql-java-support" )
13
- implementation(" org.jetbrains" , " annotations" , " 23.1.0 " )
22
+ implementation(" org.jetbrains" , " annotations" , annotationsVersion )
14
23
implementation(" org.springframework.boot" , " spring-boot-starter-actuator" )
15
24
implementation(" org.springframework.boot" , " spring-boot-starter-graphql" )
16
25
implementation(" org.springframework.boot" , " spring-boot-starter-web" )
Original file line number Diff line number Diff line change 14
14
"matchPaths" : [" gradle-wrapper.properties" ],
15
15
"labels" : [" type: build" ]
16
16
},
17
+ {
18
+ "groupName" : " Gradle version updates" ,
19
+ "matchDatasources" : [" docker" ],
20
+ "matchPackageNames" : [" gradle" ],
21
+ "labels" : [" type: build" ]
22
+ },
17
23
{
18
24
"groupName" : " Protobuf" ,
19
25
"matchPackagePrefixes" : [" com.google.protobuf:" ]
You can’t perform that action at this time.
0 commit comments