-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
65 lines (58 loc) · 1.3 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
buildscript {
repositories {
mavenCentral()
maven {
url "https://artifacts.fizzpod.com/public/mvn/"
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath ('com.fizzpod:gradle-plugin-opinion:21.0.0') {
exclude group: 'com.fizzpod', module: 'gradle-extended-info-plugin'
}
}
}
apply plugin: 'com.fizzpod.pater-build'
apply from: 'buildSrc/build.gradle'
sourceSets {
main {
java {
srcDir 'buildSrc/src/main/java'
}
resources {
srcDir 'buildSrc/src/main/resources'
exclude 'META-INF/gradle-plugins/com.fizzpod.info.properties'
}
groovy {
srcDir 'buildSrc/src/main/groovy'
}
}
test {
java {
srcDir 'buildSrc/src/test/java'
}
resources {
srcDir 'buildSrc/src/test/resources'
}
groovy {
srcDir 'buildSrc/src/test/groovy'
}
}
}
dependencies {
api gradleApi()
api localGroovy()
}
gradlePlugin {
plugins {
plugin {
description = 'Gradle plugin extending the nebula-info-plugin providing extension points and support for other CI servers.'
tags.set(['ci', 'info', 'build'])
id = 'com.fizzpod.info'
displayName = 'Gradle Extended Info Plugin'
implementationClass = 'com.fizzpod.gradle.plugins.info.InfoPlugin'
}
}
}