Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit d5acb29

Browse files
chore: update to Gradle 6.3, minor build script improvements
These are mostly follow-up improvements/fixes of the earlier major build script refactor: - apply Spring Boot plugin to example apps (allows running them via bootRun gradle task) - disable publishToMavenLocal for example-spring-common - update deprecated compile dependency configuration to implementation (example-webflux) - use https instead of http for Artifactory
1 parent 274e7c0 commit d5acb29

File tree

8 files changed

+18
-7
lines changed

8 files changed

+18
-7
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ subprojects {
158158
}
159159

160160
artifactory {
161-
contextUrl = 'http://oss.jfrog.org'
161+
contextUrl = 'https://oss.jfrog.org'
162162
publish {
163163
repository {
164164
if (project.version.endsWith("-SNAPSHOT")) {

example-graphql-subscription/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: "org.springframework.boot"
2+
13
dependencies {
24
implementation(project(":graphql-spring-boot-starter"))
35
implementation(project(":graphiql-spring-boot-starter"))

example-graphql-tools/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1818
*/
1919

20+
apply plugin: "org.springframework.boot"
21+
2022
dependencies {
2123
implementation(project(":graphql-spring-boot-starter"))
2224
implementation(project(":graphiql-spring-boot-starter"))

example-request-scoped-dataloader/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: "org.springframework.boot"
2+
13
dependencies {
24
implementation("org.springframework.boot:spring-boot-starter-web")
35
implementation(project(":graphql-spring-boot-starter"))

example-spring-common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ dependencies{
3535
jar.enabled = false
3636
uploadArchives.enabled = false
3737
bintrayUpload.enabled = false
38+
publishToMavenLocal.enabled = false

example-webflux/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1818
*/
1919

20+
apply plugin: "org.springframework.boot"
21+
2022
dependencies {
21-
compile(project(":graphql-kickstart-spring-boot-starter-webflux"))
22-
compile(project(":graphql-kickstart-spring-boot-starter-tools"))
23-
compile(project(":voyager-spring-boot-starter"))
23+
implementation(project(":graphql-kickstart-spring-boot-starter-webflux"))
24+
implementation(project(":graphql-kickstart-spring-boot-starter-tools"))
25+
implementation(project(":voyager-spring-boot-starter"))
2426

25-
compile("org.springframework.boot:spring-boot-starter-webflux:$LIB_SPRING_BOOT_VER")
26-
compile("org.springframework.boot:spring-boot-starter-actuator:$LIB_SPRING_BOOT_VER")
27+
implementation("org.springframework.boot:spring-boot-starter-webflux:$LIB_SPRING_BOOT_VER")
28+
implementation("org.springframework.boot:spring-boot-starter-actuator:$LIB_SPRING_BOOT_VER")
2729
}
2830

2931
jar.enabled = false

example/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1818
*/
1919

20+
apply plugin: "org.springframework.boot"
21+
2022
dependencies{
2123
implementation(project(":altair-spring-boot-starter"))
2224
implementation(project(":graphql-spring-boot-starter"))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)