-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
62 lines (49 loc) · 1.42 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
group 'at.zierler'
version '1.5.0'
apply plugin: 'java'
apply plugin: 'java-gradle-plugin'
apply plugin: "com.gradle.plugin-publish"
sourceCompatibility = 1.8
def lombokVersion = '1.16.22'
def snakeyamlVersion = '1.19'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.9"
}
}
repositories {
jcenter()
}
dependencies {
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
compile gradleApi()
compile group: 'org.yaml', name: 'snakeyaml', version: snakeyamlVersion
compileOnly group: 'org.projectlombok', name: 'lombok', version: lombokVersion
runtime group: 'org.yaml', name: 'snakeyaml', version: snakeyamlVersion
testCompile group: 'junit', name: 'junit', version: '4.12'
}
gradlePlugin {
plugins {
yaml {
id = 'at.zierler.yamlvalidator'
implementationClass = 'at.zierler.gradle.YamlValidatorPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/zierler-f/YAML-Validator-Plugin'
vcsUrl = 'https://github.com/zierler-f/YAML-Validator-Plugin.git'
description = 'Validate your YAML files.'
tags = ['yaml', 'validations']
plugins {
yaml {
id = 'at.zierler.yamlvalidator'
displayName = 'YAML Validator Plugin'
}
}
}