generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
86 lines (74 loc) · 3.61 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
import static com.diffplug.spotless.LineEnding.UNIX
plugins {
id 'idea'
id 'java-gradle-plugin'
id 'groovy'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '1.2.1'
id "com.diffplug.spotless" version "6.25.0"
}
group 'io.neonbee'
version '0.1.4'
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
implementation platform('org.apache.groovy:groovy-bom:4.0.19')
implementation 'org.apache.groovy:groovy-yaml:4.0.19'
// Module Plugin Dependencies
implementation 'org.ow2.asm:asm:9.6' // https://mvnrepository.com/artifact/org.ow2.asm/asm
implementation 'gradle.plugin.com.github.johnrengelman:shadow:8.0.0' // https://plugins.gradle.org/plugin/com.github.johnrengelman.shadow
// Static Code Checkers Plugin Dependencies
implementation 'com.diffplug.spotless:spotless-plugin-gradle:6.25.0' // https://plugins.gradle.org/plugin/com.diffplug.spotless
implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.8' // https://plugins.gradle.org/plugin/com.github.spotbugs
implementation 'gradle.plugin.se.bjurr.violations:violations-gradle-plugin:2.0.0' // https://plugins.gradle.org/plugin/se.bjurr.violations.violations-gradle-plugin
implementation "gradle.plugin.com.github.ksoichiro:gradle-console-reporter:0.6.3" // https://plugins.gradle.org/plugin/com.github.ksoichiro.console.reporter
implementation "net.ltgt.gradle:gradle-errorprone-plugin:3.1.0" // https://plugins.gradle.org/plugin/net.ltgt.errorprone
// Models Plugin Dependencies
implementation 'com.github.node-gradle:gradle-node-plugin:7.0.2' // https://plugins.gradle.org/plugin/com.github.node-gradle.node
}
gradlePlugin {
website = 'https://github.com/SAP/neonbee-plugin-kickstart'
vcsUrl = 'https://github.com/SAP/neonbee-plugin-kickstart'
plugins {
base {
id = 'io.neonbee.gradle.kickstart.module'
implementationClass = 'io.neonbee.gradle.kickstart.ModulePlugin'
displayName = 'NeonBee Kickstart Module Plugin'
description = 'NeonBee Kickstart Module Plugin to lower the barrier to entry to explore NeonBee.'
tags.set(['neonbee', 'kickstart'])
}
models {
id = 'io.neonbee.gradle.kickstart.models'
implementationClass = 'io.neonbee.gradle.kickstart.ModelsPlugin'
displayName = 'NeonBee Kickstart Models Plugin'
description = 'NeonBee Kickstart Models Plugin to lower the barrier to entry to explore NeonBee.'
tags.set(['neonbee', 'kickstart'])
}
quality {
id = 'io.neonbee.gradle.kickstart.quality'
implementationClass = 'io.neonbee.gradle.kickstart.QualityPlugin'
displayName = 'NeonBee Kickstart Quality Plugin'
description = 'NeonBee Kickstart Quality Plugin to lower the barrier to entry to explore NeonBee.'
tags.set(['neonbee', 'kickstart'])
}
application {
id = 'io.neonbee.gradle.kickstart.application'
implementationClass = 'io.neonbee.gradle.kickstart.ApplicationPlugin'
displayName = 'NeonBee Kickstart Application Plugin'
description = 'NeonBee Kickstart Application Plugin to lower the barrier to entry to explore NeonBee.'
tags.set(['neonbee', 'kickstart'])
}
}
}
spotless {
groovy {
encoding 'UTF8'
trimTrailingWhitespace()
endWithNewline()
lineEndings UNIX
importOrderFile("${rootDir}/gradle/spotless/neonbee.importorder")
greclipse('4.21.0').configFile("${rootDir}/gradle/spotless/eclipse-formatter.xml")
}
}