forked from ossimlabs/omar-avro-metadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (59 loc) · 1.72 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
buildscript {
ext {
springBootVersion = '1.5.3.RELEASE'
baseImage = "omar-base"
}
if(System.env.OMAR_COMMON_PROPERTIES)
{
apply from: System.env.OMAR_COMMON_PROPERTIES
}
repositories {
mavenLocal()
maven { url "${ossimMavenProxy}" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: "idea"
apply plugin: "java"
apply plugin: "maven-publish"
apply plugin: "maven"
sourceCompatibility = 1.8
repositories {
mavenLocal()
maven { url "${ossimMavenProxy}" }
mavenCentral()
}
ext {
springCloudVersion = 'Dalston.RELEASE'
}
dependencies {
compile('org.springframework.boot:spring-boot-starter')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.cloud:spring-cloud-starter-aws')
compile('org.springframework.cloud:spring-cloud-starter-config')
compile('com.github.derjust:spring-data-dynamodb:4.5.0')
compile('com.amazonaws:aws-java-sdk-dynamodb:1.11.93')
compile('org.codehaus.groovy:groovy')
compile('org.codehaus.groovy:groovy-json')
compile('io.springfox:springfox-swagger-ui:2.0.1')
compile('io.springfox:springfox-swagger2:2.0.1')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}