-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.gradle
114 lines (108 loc) · 4.83 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apply plugin: "maven-publish"
apply plugin: "java-gradle-plugin"
apply plugin: "com.gradle.plugin-publish"
description = "Collection of Maven related Gradle plugins"
dependencies {
implementation 'org.apache.maven:maven-model:3.8.6'
api project(":okhttp-plugin")
testImplementation project(":test-common")
}
gradlePlugin {
plugins {
war {
id = "io.freefair.war"
implementationClass = "io.freefair.gradle.plugins.maven.war.WarPlugin"
displayName = "War Plugin"
description = "Maven-like extensions for the normal war plugin"
}
warOverlay {
id = "io.freefair.war-overlay"
implementationClass = "io.freefair.gradle.plugins.maven.war.WarOverlayPlugin"
displayName = "War Overlay Plugin"
description = "Maven-like overlays for war tasks."
}
warAttachClasses {
id = "io.freefair.war-attach-classes"
implementationClass = "io.freefair.gradle.plugins.maven.war.WarAttachClassesPlugin"
displayName = "War Attach Classes Plugin"
description = "Maven-like attachClasses option for the war task."
}
warArchiveClasses {
id = "io.freefair.war-archive-classes"
implementationClass = "io.freefair.gradle.plugins.maven.war.WarArchiveClassesPlugin"
displayName = "War Archive Classes Plugin"
description = "Maven-like archiveClasses options for war tasks."
}
aggregateJavadoc {
id = "io.freefair.aggregate-javadoc"
implementationClass = "io.freefair.gradle.plugins.maven.javadoc.AggregateJavadocPlugin"
displayName = "Aggregate Javadoc Plugin"
description = "Generate Javadoc over multiple projects"
}
aggregateJavadocJar {
id = "io.freefair.aggregate-javadoc-jar"
implementationClass = "io.freefair.gradle.plugins.maven.javadoc.AggregateJavadocJarPlugin"
displayName = "Aggregate Javadoc Jar Plugin"
description = "Generate Javadoc over multiple projects"
}
javadocLinks {
id = "io.freefair.javadoc-links"
implementationClass = "io.freefair.gradle.plugins.maven.javadoc.JavadocLinksPlugin"
displayName = "Maven Jars Plugin"
description = 'Link your javadoc against your dependencies'
}
javadocUtf8 {
id = "io.freefair.javadoc-utf-8"
implementationClass = "io.freefair.gradle.plugins.maven.javadoc.JavadocUtf8Plugin"
displayName = "Javadoc UTF-8 Plugin"
description = "Set the output encoding of your javadoc tasks to 'UTF-8'"
}
javadocs {
id = "io.freefair.javadocs"
implementationClass = "io.freefair.gradle.plugins.maven.javadoc.JavadocsPlugin"
displayName = "Javadoc Plugin"
description = 'Bundle of all our javadoc plugins'
}
mavenPublishJava {
id = "io.freefair.maven-publish-java"
implementationClass = "io.freefair.gradle.plugins.maven.MavenPublishJavaPlugin"
displayName = "maven-publish Java"
description = "Creates a mavenJava publication"
}
mavenPublishWar {
id = "io.freefair.maven-publish-war"
implementationClass = "io.freefair.gradle.plugins.maven.MavenPublishWarPlugin"
displayName = "maven-publish War"
description = "Creates a mavenWeb publication"
}
optional {
id = "io.freefair.maven-optional"
implementationClass = "io.freefair.gradle.plugins.maven.OptionalPlugin"
displayName = "Maven optional Plugin"
description = "Adds a maven-like 'optional' configuration to your gradle build"
}
centralValidatePoms {
id = "io.freefair.maven-central.validate-poms"
implementationClass = "io.freefair.gradle.plugins.maven.central.ValidatePomsPlugin"
displayName = "Maven Central POM validation plugin"
description = "Verify that your generated POM's fullfill the requirements for maven central"
}
}
}
pluginBundle {
pluginTags = [
war: ['war'],
warOverlay: ['war', 'maven', 'overlay'],
warAttachClasses: ['war', 'maven', 'attachClasses'],
warArchiveClasses: ['war', 'maven', 'archiveClasses'],
aggregateJavadoc: ['maven', 'javadoc', 'aggregate'],
aggregateJavadocJar: ['maven', 'javadoc', 'aggregate', "jar"],
javadocLinks: ['javadoc', 'links', 'javadoc.io'],
javadocUtf8: ['javadoc', 'utf-8'],
javadocs: ['javadoc'],
mavenPublishJava: ["maven-publish", "java"],
mavenPublishWar: ["maven-publish", "war"],
optional: ["maven", "optional"],
centralValidatePoms: ["maven-central"]
]
}