forked from dehora/nakadi-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
76 lines (67 loc) · 1.95 KB
/
build.gradle
File metadata and controls
76 lines (67 loc) · 1.95 KB
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
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
classpath 'org.apache.ant:ant:1.9.7' // resolve shadow and nebula deps
classpath "com.netflix.nebula:nebula-publishing-plugin:4.9.1"
classpath "com.netflix.nebula:nebula-project-plugin:3.3.0"
classpath "com.netflix.nebula:nebula-release-plugin:4.1.0"
classpath "com.netflix.nebula:nebula-bintray-plugin:3.5.0"
classpath "com.netflix.nebula:gradle-git-scm-plugin:3.0.1"
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'nebula.project'
apply plugin: 'nebula.dependency-lock'
apply plugin: 'nebula.maven-publish'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.source-jar'
apply plugin: "nebula.nebula-bintray"
apply plugin: "nebula.gradle-git-scm"
//apply plugin: 'nebula.release'
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}
apply from: "$rootDir/gradle/libs.gradle"
allprojects {
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'nebula.project'
apply plugin: 'nebula.dependency-lock'
apply plugin: 'nebula.maven-publish'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.source-jar'
apply plugin: "nebula.nebula-bintray"
apply plugin: "nebula.gradle-git-scm"
//apply plugin: 'nebula.release'
idea {
module {
downloadSources = true
downloadJavadoc = true
}
}
}
/*
* Allows bintrayUpload to run from the project root without gradle complaining (the root project
* doesn't have a bintrayUpload task).
*/
project.afterEvaluate {
//noinspection GrUnresolvedAccess
//noinspection GroovyAssignabilityCheck
task bintrayUpload(group: "publishing", overwrite: true) {
def projects = subprojects.findAll { it.name != "client-spike" }
dependsOn projects.bintrayUpload
}
}