This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (54 loc) · 1.68 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
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'maven-publish'
id "net.ltgt.apt" version "0.17"
id "net.ltgt.apt-idea" version "0.17"
id "net.ltgt.apt-eclipse" version "0.17"
id 'com.jfrog.bintray' version '1.8.1'
id "io.spring.dependency-management" version "1.0.5.RELEASE"
}
apply from: "deploy.gradle"
def versioning() {
Map<String, String> env = System.getenv()
if (env.containsKey('TRAVIS_TAG')) {
return env.get('TRAVIS_TAG')
} else if (env.containsKey('CI_COMMIT_TAG')) {
return System.getenv('CI_COMMIT_TAG')
} else {
return "1.0.0-SNAPSHOT"
}
}
group = "com.github.twitch4j"
description = "Reactive Streams with Twitch4J style"
version = versioning()
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
dependencyManagement {
imports {
mavenBom 'io.projectreactor:reactor-bom:Bismuth-SR10'
mavenBom 'com.fasterxml.jackson:jackson-bom:2.9.6'
}
}
dependencies {
compile 'io.projectreactor:reactor-core'
compile 'com.google.guava:guava:25.1-jre'
compile 'io.projectreactor.ipc:reactor-netty'
compile 'io.projectreactor.addons:reactor-extra'
compile 'com.google.code.findbugs:jsr305:3.0.2'
compile 'com.fasterxml.jackson.core:jackson-databind'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8'
compileOnly 'org.projectlombok:lombok:1.18.0'
annotationProcessor 'org.projectlombok:lombok:1.18.0'
testCompile 'junit:junit:4.12'
testCompile 'io.projectreactor:reactor-test'
testCompile 'org.mockito:mockito-core:2.19.0'
}
wrapper {
gradleVersion = "4.8.1"
distributionType = Wrapper.DistributionType.ALL
}