-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
48 lines (38 loc) · 1.39 KB
/
build.gradle.kts
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
plugins {
id("java")
id("application")
id("com.ryandens.javaagent-application") version "0.4.2"
id("com.ryandens.javaagent-test") version "0.4.2"
}
group = "spp.demo"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven(url = "https://pkg.sourceplus.plus/sourceplusplus/probe-jvm")
}
dependencies {
implementation("io.micronaut:micronaut-management:3.9.4")
implementation("io.projectreactor:reactor-core:3.4.16")
//attaches Source++ probe to the application
javaagent("plus.sourceplus.probe:probe-jvm:0.7.10-SNAPSHOT")
//used for the tail logs command
implementation("org.apache.skywalking:apm-toolkit-logback-1.x:8.15.0")
implementation("org.slf4j:slf4j-api:2.0.2")
implementation("ch.qos.logback:logback-classic:1.4.1")
//used for view traces command
implementation("io.micronaut:micronaut-http-client:3.9.4")
//used for endpoint indicators
implementation("io.micronaut:micronaut-http-server-netty:3.9.4")
annotationProcessor("io.micronaut:micronaut-inject-java:3.9.4")
//used for test indicators
testJavaagent("plus.sourceplus.probe:probe-jvm:0.7.10-SNAPSHOT")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1")
}
application {
mainClass.set("spp.demo.Main")
applicationName = "demo-java"
}
tasks.test {
useJUnitPlatform()
}