| /* 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) |