-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
112 lines (93 loc) · 2.8 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
classpath ("org.junit.platform:junit-platform-gradle-plugin:1.1.0")
}
}
plugins {
id "com.jfrog.bintray" version "1.7.3"
}
group 'in.oogway.plumbox'
version '1.2.2'
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'maven-publish'
apply plugin: 'groovy'
apply plugin: 'java'
//mainClassName = "in.oogway.plumbox.cli.Main"
sourceCompatibility = 1.8
ext.junitJupiterVersion = '5.1.0'
repositories {
mavenLocal()
mavenCentral()
jcenter()
repositories {
maven {
url "https://dl.bintray.com/oogway/Plumbox"
}
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.5'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
dependencies {
compile "in.oogway.plumbox:plumbox:1.1.1"
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'redis.clients', name: 'jedis', version: '2.9.0'
compile group: 'joda-time', name: 'joda-time', version: '2.1'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'org.apache.spark', name: 'spark-sql_2.11', version: '2.1.1'
compile group: 'org.json', name: 'json', version: '20180130'
compile 'com.google.code.gson:gson:2.8.2'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
// JUnit Jupiter API and TestEngine implementation
testCompile("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
}
apply plugin: 'com.github.johnrengelman.shadow'
shadowJar {
manifest {
attributes 'Main-Class': 'in.oogway.plumbox.cli.Main'
}
baseName = 'plumbox-cli'
version = version
zip64 = true
}
junitPlatform {
details 'tree'
}
bintray {
user = hasProperty('bintray_username') ? bintray_username : System.getenv('BINTRAY_USERNAME')
key = hasProperty('bintray_password') ? bintray_password : System.getenv('BINTRAY_PASSWORD')
configurations = ['archives']
pkg {
publish = true
repo = 'Plumbox'
name = 'plumbox-launcher'
desc = "Plumbox Launcher to trigger Pipelines"
userOrg = 'oogway'
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/oogway/plumboxlauncher'
issueTrackerUrl = 'https://github.com/oogway/plumboxlauncher/issues'
vcsUrl = 'https://github.com/oogway/plumboxlauncher'
}
}