-
Notifications
You must be signed in to change notification settings - Fork 335
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
54 lines (45 loc) · 1.39 KB
/
build.gradle.kts
File metadata and controls
54 lines (45 loc) · 1.39 KB
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
plugins {
groovy
`java-gradle-plugin`
`kotlin-dsl`
id("com.diffplug.spotless") version "6.13.0"
}
gradlePlugin {
plugins {
create("instrument-plugin") {
id = "instrument"
implementationClass = "InstrumentPlugin"
}
create("muzzle-plugin") {
id = "muzzle"
implementationClass = "MuzzlePlugin"
}
create("call-site-instrumentation-plugin") {
id = "call-site-instrumentation"
implementationClass = "datadog.gradle.plugin.CallSiteInstrumentationPlugin"
}
}
}
apply {
from("$rootDir/../gradle/repositories.gradle")
}
dependencies {
implementation(gradleApi())
implementation(localGroovy())
implementation("net.bytebuddy", "byte-buddy-gradle-plugin", "1.15.11")
implementation("org.eclipse.aether", "aether-connector-basic", "1.1.0")
implementation("org.eclipse.aether", "aether-transport-http", "1.1.0")
implementation("org.apache.maven", "maven-aether-provider", "3.3.9")
implementation("com.google.guava", "guava", "20.0")
implementation("org.ow2.asm", "asm", "9.8")
implementation("org.ow2.asm", "asm-tree", "9.8")
testImplementation("org.spockframework", "spock-core", "2.2-groovy-3.0")
testImplementation("org.codehaus.groovy", "groovy-all", "3.0.17")
}
tasks.compileKotlin {
dependsOn(":call-site-instrumentation-plugin:build")
}
tasks.test {
useJUnitPlatform()
enabled = project.hasProperty("runBuildSrcTests")
}