-
Notifications
You must be signed in to change notification settings - Fork 960
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (64 loc) · 2.15 KB
/
build.gradle
File metadata and controls
70 lines (64 loc) · 2.15 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'groovy'
id 'java-gradle-plugin'
id 'maven-publish'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
group = project.findProperty('GROUP') ?: (rootProject.group ?: 'org.openjdk.btrace')
version = rootProject.version
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
implementation gradleApi()
implementation localGroovy()
// Match versions commonly cached in this repository to avoid extra fetches
implementation 'org.ow2.asm:asm:9.9.1'
implementation 'org.ow2.asm:asm-tree:9.6'
}
gradlePlugin {
plugins {
btraceExtension {
id = 'org.openjdk.btrace.extension'
implementationClass = 'org.openjdk.btrace.gradle.BTraceExtensionPlugin'
displayName = 'BTrace Extension Plugin'
description = 'Builds and packages BTrace extensions, scanning permissions and wiring manifests.'
}
}
}
publishing {
publications {
// java-gradle-plugin will add pluginMaven and marker publications automatically.
// This block allows publishing to local/remote Maven repositories.
withType(MavenPublication) {
pom {
name = 'BTrace Gradle Extension Plugin'
description = 'Gradle plugin for building BTrace extensions'
url = 'https://github.com/btraceio/btrace'
licenses {
license {
name = 'GPL-2.0 with Classpath Exception'
url = 'https://openjdk.org/legal/gplv2+ce.html'
}
}
developers {
developer {
id = 'btrace'
name = 'BTrace Project'
url = 'https://github.com/btraceio'
}
}
scm {
url = 'https://github.com/btraceio/btrace'
connection = 'scm:git:https://github.com/btraceio/btrace.git'
developerConnection = 'scm:git:ssh://git@github.com:btraceio/btrace.git'
}
}
}
}
}