forked from spring-projects/spring-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (51 loc) · 1.47 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
ext {
moduleProjects = [project(":spring-graphql"), project(":spring-graphql-test")]
}
description = "Spring GraphQL"
subprojects {
apply plugin: 'io.spring.dependency-management'
group = 'org.springframework.graphql'
repositories {
mavenCentral()
if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" }
}
if (version.endsWith('-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }
}
}
}
configure(moduleProjects) {
apply plugin: 'java-library'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencyManagement {
imports {
mavenBom "com.fasterxml.jackson:jackson-bom:2.12.3"
mavenBom "io.projectreactor:reactor-bom:2020.0.7"
mavenBom "org.springframework:spring-framework-bom:5.3.7"
mavenBom "org.springframework.data:spring-data-bom:2021.0.1"
mavenBom "org.springframework.security:spring-security-bom:5.5.1"
mavenBom "org.junit:junit-bom:5.7.2"
}
dependencies {
dependency 'com.graphql-java:graphql-java:0.0.0-2021-07-21T06-48-56-713bb637'
dependency 'org.assertj:assertj-core:3.19.0'
dependencySet(group: 'org.apache.logging.log4j', version: '2.14.1') {
entry 'log4j-api'
entry 'log4j-core'
entry 'log4j-jul'
entry 'log4j-slf4j-impl'
}
}
generatedPomCustomization {
enabled = false
}
}
apply from: "${rootDir}/gradle/publishing.gradle"
}