forked from gustavkarlsson/rocketchat-jira-trigger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (61 loc) · 1.82 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
plugins {
id 'java'
id 'jacoco'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.4'
id 'pl.allegro.tech.build.axion-release' version '1.8.3'
}
scmVersion {
tag {
prefix = ''
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'se.gustavkarlsson.rocketchat'
version = scmVersion.version
mainClassName = 'se.gustavkarlsson.rocketchat.jira_trigger.App'
repositories {
mavenCentral()
maven { url 'https://maven.atlassian.com/repository/public' }
maven { url 'https://jitpack.io' }
}
dependencies {
// Hack to handle dependencies with 'atlassian-plugin' extension
compile 'com.atlassian.jira:jira-rest-java-client-app:5.2.0'
compile 'ch.qos.logback:logback-classic:1.2.3'
compile 'org.apache.commons:commons-lang3:3.6'
compile 'org.apache.commons:commons-text:1.8'
compile 'com.moandjiezana.toml:toml4j:0.7.1'
compile 'com.google.inject:guice:4.1.0'
compile 'com.google.code.findbugs:jsr305:3.0.2'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.sparkjava:spark-core:2.6.0'
compile 'org.slf4j:slf4j-api:1.7.25'
compileOnly 'com.google.code.findbugs:jsr305:1.3.9'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.8.0'
testCompile 'org.mockito:mockito-core:2.9.0'
testCompile 'nl.jqno.equalsverifier:equalsverifier:2.3.3'
testCompile 'org.glassfish.jersey.core:jersey-client:2.25.1'
testCompile 'org.skyscreamer:jsonassert:1.5.0'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}
shadowJar {
mergeServiceFiles {
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
}
check.dependsOn jacocoTestReport