-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
executable file
·99 lines (81 loc) · 2.75 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
}
}
plugins {
id 'java'
id 'idea'
id 'org.springframework.boot' version '1.5.9.RELEASE'
id 'org.unbroken-dome.test-sets' version '1.4.2'
id 'net.researchgate.release' version '2.6.0'
}
apply plugin: 'propdeps'
configurations.compile.transitive = false
configurations.provided.transitive = false
configurations.optional.transitive = false
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases/"
}
maven {
url "https://repo.spring.io/plugins-release/"
}
}
ext{
nexusprotoVersion = "1.0.0"
protobufUtilVersion = "3.5.1"
netcdfJavaVersion = '4.6.9'
guavaVersion = "23.2-jre"
}
testSets {
testJobs
}
dependencyManagement {
imports {
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.10.77+'
}
}
dependencies {
provided("org.springframework:spring-core:4.0.2.RELEASE")
optional("org.springframework:spring-context:4.0.2.RELEASE")
optional "org.springframework.boot:spring-boot-configuration-processor"
compile("org.springframework.boot:spring-boot-starter-batch")
compile("org.springframework:spring-web")
compile("org.springframework.data:spring-data-cassandra")
compile("org.springframework.data:spring-data-solr")
compile("org.json:json:20190722")
compile("com.h2database:h2")
compile("mysql:mysql-connector-java")
compile("org.apache.sdap:nexusproto:$nexusprotoVersion")
compile("com.google.protobuf:protobuf-java-util:$protobufUtilVersion")
compile("edu.ucar:cdm:${netcdfJavaVersion}")
compile("com.google.guava:guava")
compile("com.amazonaws:aws-java-sdk-s3")
compile("com.amazonaws:aws-java-sdk-dynamodb")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.batch:spring-batch-test')
testJobsCompile sourceSets.test.output
}
compileJava.dependsOn(processResources)