-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
65 lines (56 loc) · 1.84 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
plugins {
id 'com.netflix.nebula.plugin-plugin' version '21.2.2'
id "com.netflix.nebula.maven-publish" version "19.2.0"
id "com.netflix.nebula.ivy-publish" version "19.2.0"
id 'com.netflix.nebula.java-cross-compile' version '8.0.0' // adds support for github actions JDK install location
}
description 'Gradle plugins to do nothing'
dependencies {
implementation 'com.google.guava:guava:28.+'
implementation 'commons-logging:commons-logging:latest.release'
implementation 'org.apache.commons:commons-math3:3.6.1'
}
gradlePlugin {
plugins {
nothingPlugin {
id = 'com.netflix.nebula.nothing-plugin'
displayName = 'Gradle nothing plugin'
description = "Plugin that does nothing"
implementationClass = 'nebula.plugin.nothing.NothingPlugin'
tags.set(['nebula', 'nothing', 'example'])
}
moreNothingPlugin {
id = 'com.netflix.nebula.more-nothing-plugin'
displayName = 'Gradle more nothing plugin'
description = "Another plugin that does nothing"
implementationClass = 'nebula.plugin.nothing.MoreNothingPlugin'
tags.set(['nebula', 'nothing', 'example'])
}
}
}
contacts {
moniker 'Nebula Plugins Maintainers'
github 'nebula-plugins'
}
}
publishing {
repositories {
maven {
name 'distMaven'
url = "$buildDir/maven-repo"
}
}
publications {
withType(MavenPublication) {
pom {
inceptionYear = '2014'
}
}
}
}
dependencyLocking {
lockAllConfigurations()
}
// for tests in this repo
test.dependsOn('generateDescriptorFileForPluginIvyPublication', 'generatePomFileForNebulaPublication', 'generatePomFileForPluginMavenPublication')