-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
90 lines (75 loc) · 2.12 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
plugins {
id 'java'
id 'maven'
id 'jacoco'
id 'org.sonarqube' version '2.6.1'
id 'com.jfrog.bintray' version '1.8.4'
}
group = 'com.github.levry'
version = '0.0.1'
description = 'Embedded openMQ broker jupiter extension'
sourceCompatibility = JavaVersion.VERSION_1_8
ext {
lombokVersion = '1.18.4'
logbackVersion = '1.2.3'
junitVersion = '5.3.2'
assertjVersion = '3.10.0'
}
repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/levry/maven'
}
}
dependencies {
implementation platform("org.junit:junit-bom:${junitVersion}")
implementation 'com.github.levry:imq-embedded:0.0.1'
implementation "org.junit.jupiter:junit-jupiter-api"
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api"
testRuntime "org.junit.jupiter:junit-jupiter-engine"
testImplementation "org.assertj:assertj-core:${assertjVersion}"
}
test {
useJUnitPlatform()
}
jacocoTestReport {
reports {
xml.enabled true
}
}
sonarqube {
properties {
property "sonar.projectName", project.name
property "sonar.projectKey", "github.levry.imq.embedded.jupiter"
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
bintray {
user = System.getenv('BINTRAY_USER') ?: project.property('bintray.user')
key = System.getenv('BINTRAY_KEY') ?: project.property('bintray.key')
configurations = ['archives']
pkg {
repo = 'maven'
name = 'imq-embedded-jupiter'
licenses = ['MIT']
publish = true
publicDownloadNumbers = true
vcsUrl = 'https://github.com/levry/imq-embedded-jupiter.git'
labels = ['java', 'openmq', 'jms']
version {
name = project.version
desc = project.description
released = new Date()
vcsTag = project.version
}
}
}