-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
executable file
·94 lines (80 loc) · 2.29 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
plugins {
id 'java'
id 'groovy'
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.8.4'
id 'com.github.ben-manes.versions' version '0.25.0'
id 'ru.vyarus.quality' version '3.4.0'
id 'ru.vyarus.java-lib' version '1.1.2'
id 'net.ltgt.apt-idea' version '0.21'
}
group 'com.github.vbauer'
version '1.4.2'
description 'A simple REST client library for Yandex.Translate'
repositories {
mavenLocal()
mavenCentral()
}
configurations.provided.extendsFrom configurations.annotationProcessor
ext.deps = [
gson: '2.8.6',
fbAnnotations: '3.0.1',
immutables: '2.8.0',
spock: '1.3-groovy-2.5',
groovy: '2.5.6',
jpcc: '1.2.0'
]
dependencies {
implementation "com.google.code.gson:gson:${deps.gson}"
implementation "com.google.code.findbugs:annotations:${deps.fbAnnotations}"
annotationProcessor "org.immutables:value:${deps.immutables}"
annotationProcessor "org.immutables:builder:${deps.immutables}"
annotationProcessor "org.immutables:gson:${deps.immutables}"
testImplementation "org.spockframework:spock-core:${deps.spock}"
testImplementation "org.codehaus.groovy:groovy-all:${deps.groovy}"
testImplementation "com.pushtorefresh.java-private-constructor-checker:checker:${deps.jpcc}"
}
wrapper {
gradleVersion = '5.6.2'
distributionType = Wrapper.DistributionType.ALL
}
compileJava {
String javaVersion = JavaVersion.VERSION_1_8
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
pom {
inceptionYear '2015'
licenses {
license {
name 'MIT License'
url 'http://www.opensource.org/licenses/mit-license.php'
distribution 'repo'
}
}
developers {
developer {
id 'vbauer'
name 'Vladislav Bauer'
email 'bauer.vlad@gmail.com'
url 'http://linkedin.com/in/vladislavbauer'
roles {
role 'Developer'
}
}
}
issueManagement {
system 'GitHub Issues'
url 'https://github.com/vbauer/yandex-translate-api/issues'
}
ciManagement {
system 'Travis'
url 'https://travis-ci.org/vbauer/yandex-translate-api'
}
}