Use properties for Boot and GraphQL Java versions
This commit is contained in:
@@ -4,6 +4,8 @@ plugins {
|
||||
|
||||
ext {
|
||||
moduleProjects = [project(":spring-graphql"), project(":spring-graphql-test")]
|
||||
bootVersion = "2.5.4"
|
||||
graphQlJavaVersion = "17.2"
|
||||
}
|
||||
|
||||
description = "Spring GraphQL"
|
||||
@@ -42,7 +44,7 @@ configure(moduleProjects) {
|
||||
mavenBom "org.junit:junit-bom:5.7.2"
|
||||
}
|
||||
dependencies {
|
||||
dependency 'com.graphql-java:graphql-java:17.2'
|
||||
dependency "com.graphql-java:graphql-java:${graphQlJavaVersion}"
|
||||
dependency 'org.assertj:assertj-core:3.20.2'
|
||||
dependencySet(group: 'org.apache.logging.log4j', version: '2.14.1') {
|
||||
entry 'log4j-api'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.5.4' apply false
|
||||
id 'org.springframework.boot' version "${bootVersion}" apply false
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ dependencyManagement {
|
||||
|
||||
dependencies {
|
||||
api project(':spring-graphql')
|
||||
api 'com.graphql-java:graphql-java:17.2'
|
||||
api "com.graphql-java:graphql-java:${graphQlJavaVersion}"
|
||||
api 'io.projectreactor:reactor-core'
|
||||
api 'org.springframework:spring-context'
|
||||
api 'org.springframework.boot:spring-boot-starter'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.5.4'
|
||||
id 'org.springframework.boot' version "${bootVersion}"
|
||||
id 'java'
|
||||
}
|
||||
group = 'com.example'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.5.4'
|
||||
id 'org.springframework.boot' version "${bootVersion}"
|
||||
id 'java'
|
||||
}
|
||||
group = 'com.example'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.5.4'
|
||||
id 'org.springframework.boot' version "${bootVersion}"
|
||||
id 'java'
|
||||
}
|
||||
group = 'com.example'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.5.4'
|
||||
id 'org.springframework.boot' version "${bootVersion}"
|
||||
id 'java'
|
||||
}
|
||||
group = 'com.example'
|
||||
|
||||
Reference in New Issue
Block a user