-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
executable file
·88 lines (67 loc) · 1.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
plugins {
id 'java'
id 'maven-publish'
id 'jacoco'
id "org.sonarqube" version "5.1.0.4882"
}
repositories {
mavenCentral()
maven {
url "https://s01.oss.sonatype.org/content/repositories/snapshots"
}
}
ext{
vertxVersion = '5.0.0-SNAPSHOT'
jupiterVersion = '5.11.0'
jupiterLauncherVersion = '1.11.0'
slfApiVersion = '2.0.16'
logbackVersion = '1.5.8'
}
dependencies {
implementation "io.vertx:vertx-web:${vertxVersion}"
testImplementation "io.vertx:vertx-config-yaml:${vertxVersion}"
testImplementation "io.vertx:vertx-junit5:${vertxVersion}"
testImplementation "io.vertx:vertx-web-client:${vertxVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${jupiterVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jupiterVersion}"
testImplementation "org.junit.platform:junit-platform-launcher:${jupiterLauncherVersion}"
testRuntimeOnly "org.slf4j:slf4j-api:${slfApiVersion}"
testRuntimeOnly "ch.qos.logback:logback-classic:${logbackVersion}"
}
test {
environment "envVar1", "envVal1"
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jar.archiveFileName = "vertx-web-accesslog-5.0.0-SNAPSHOT.jar"
java {
withSourcesJar()
sourceCompatibility='8'
targetCompatibility='8'
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId 'com.romanpierson'
artifactId 'vertx-web-accesslog'
version '5.0.0-SNAPSHOT'
from components.java
}
}
}
sonarqube {
properties {
property "sonar.sources", "src/main"
property "sonar.tests", "src/test"
property "sonar.test.exclusions", "**/src/test/**"
}
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
wrapper() {
gradleVersion = '8.10.1'
}