-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
123 lines (113 loc) · 4.65 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
115
116
117
118
119
120
121
122
123
plugins {
id "com.gradle.plugin-publish" version "0.10.1"
id "groovy"
id "java-gradle-plugin"
}
version = "0.0.5"
group = "com.vogle.gradle"
description = "Grdle JavaProject Plugin"
repositories {
gradlePluginPortal()
}
dependencies {
implementation 'io.spring.gradle:dependency-management-plugin:1.+'
implementation 'io.franzbecker:gradle-lombok:3.+'
implementation 'com.netflix.nebula:gradle-info-plugin:5.+'
testImplementation 'junit:junit:4.12'
testImplementation 'org.assertj:assertj-core:3.12.2'
testImplementation 'org.mockito:mockito-core:2.28.2'
}
gradlePlugin {
plugins {
basePlugin {
id = 'vogle.base'
implementationClass = 'com.vogle.gradle.javaproject.BasePlugin'
displayName = 'Gradle Javaproject Base plugin'
description = 'Base on Javaproject'
}
javaPlugin {
id = 'vogle.java'
implementationClass = 'com.vogle.gradle.javaproject.JavaPlugin'
displayName = 'Gradle Java plugin'
description = 'Default setting for java plugin, include dependency-manager & lombok'
}
javaLibraryPlugin {
id = 'vogle.java-library'
implementationClass = 'com.vogle.gradle.javaproject.JavaLibraryPlugin'
displayName = 'Gradle Java Library plugin'
description = 'Default setting for java-library plugin, include dependency-manager & lombok'
}
integrationTestPlugin {
id = 'vogle.integration-test'
implementationClass = 'com.vogle.gradle.javaproject.IntegrationTestPlugin'
displayName = 'Gradle Integration Test plugin'
description = 'Create integration test environments for java'
}
codeQualityPlugin {
id = 'vogle.code-quality'
implementationClass = 'com.vogle.gradle.javaproject.CodeQualityPlugin'
displayName = 'Gradle Integration Test plugin'
description = 'Create integration test environments for java'
}
reportPlugin {
id = 'vogle.report'
implementationClass = 'com.vogle.gradle.javaproject.ReportPlugin'
displayName = 'Gradle Integration Test plugin'
description = 'Create integration test environments for java'
}
archivePlugin {
id = 'vogle.archive'
implementationClass = 'com.vogle.gradle.javaproject.ArchivePlugin'
displayName = 'Gradle Integration Test plugin'
description = 'Create integration test environments for java'
}
}
}
pluginBundle {
website = 'http://vogle.com'
vcsUrl = 'https://github.com/vogle/gradle-javaproject-plugin'
description = 'Gradle Javaproject Plugin'
tags = ['java', 'integration test', 'archive', 'code quality', 'java library', 'report']
plugins {
basePlugin {
displayName = 'Gradle Javaproject Base plugin'
description = 'Base on Javaproject'
tags = ['vogle', 'java', 'base']
}
javaPlugin {
displayName = 'Gradle Java plugin'
description = 'Default setting for java plugin, include dependency-manager & lombok'
tags = ['vogle', 'java', 'lombok', 'dependency manager', 'spring']
}
javaLibraryPlugin {
displayName = 'Gradle Java Library plugin'
description = 'Default setting for java-library plugin, include dependency-manager & lombok'
tags = ['vogle', 'java', 'lombok', 'dependency manager', 'library', 'spring']
}
integrationTestPlugin {
displayName = 'Gradle Integration Test plugin'
description = 'Create integration test environments for java'
tags = ['vogle', 'java', 'integration test', 'test']
}
codeQualityPlugin {
displayName = 'Gradle Code Quality plugin'
description = 'Make environments for code quality by Checkstyle & PMD'
tags = ['vogle', 'java', 'code quality', 'quality', 'checkstyle', 'pmd']
}
reportPlugin {
displayName = 'Gradle Report plugin'
description = 'Generating test report, dependency report & jacoco report'
tags = ['vogle', 'java', 'test', 'jacoco', 'report']
}
archivePlugin {
displayName = 'Gradle Archive plugin'
description = 'Build to archieve for Sources, Javadoc and Library'
tags = ['vogle', 'java', 'achive', 'manifest', 'javadoc', 'sourceJar']
}
}
mavenCoordinates {
groupId = "$project.group"
artifactId = "$project.name"
version = "$project.version"
}
}