-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (59 loc) · 1.25 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
group 'com.shankyank.gradle'
version '0.5'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'idea'
apply plugin: 'eclipse'
if (file('deploy.gradle')) {
apply from: 'deploy.gradle'
}
repositories {
mavenCentral()
jcenter()
}
publishing {
publications {
plugin(MavenPublication) {
from components.java
artifact sourceJar
artifact javadocJar
}
}
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'com.amazonaws:aws-java-sdk-api-gateway:1.10.+'
compile 'io.swagger:swagger-core:1.5.+'
compile 'io.swagger:swagger-parser:1.0.+'
compile 'com.github.fge:json-schema-validator:2.2.+'
}
task sourceJar(type: Jar, dependsOn: classes) {
classifier = 'src'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives jar
archives sourceJar
archives javadocJar
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
eclipse {
classpath {
downloadJavadoc = true
downloadSources = true
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.8'
}