-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
70 lines (57 loc) · 1.58 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
plugins {
id 'groovy'
id 'codenarc'
id 'com.gradle.plugin-publish' version '0.15.0'
id 'java-gradle-plugin'
id 'se.patrikerdes.use-latest-versions' version '0.2.17'
id 'com.github.ben-manes.versions' version '0.39.0'
}
sourceCompatibility = 1.8
dependencies {
implementation gradleApi()
implementation 'net.sf.saxon:Saxon-HE:10.5'
implementation 'xml-resolver:xml-resolver:1.2'
testImplementation('org.spockframework:spock-core:2.0-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
testImplementation 'junit:junit:4.13.2'
testImplementation gradleTestKit()
}
repositories {
mavenCentral()
}
group = 'com.github.eerohele'
version = '0.9.0-beta4'
test {
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
}
wrapper {
gradleVersion = '7.2'
}
codenarc {
toolVersion = '0.24.1'
configFile = file('config/codenarc/codenarc.groovy')
}
pluginBundle {
website = 'https://github.com/eerohele/saxon-gradle'
vcsUrl = 'https://github.com/eerohele/saxon-gradle.git'
description = 'A Gradle plugin for running Saxon'
tags = ['saxon', 'xslt', 'documentation']
}
gradlePlugin {
plugins {
SaxonPlugin {
id = 'com.github.eerohele.saxon-gradle'
displayName = 'Saxon Gradle Plugin'
implementationClass = 'com.github.eerohele.SaxonPlugin'
description = 'A Gradle plugin for running XSLT transformations with Saxon'
}
}
}
publishPlugins.dependsOn check
tasks.withType(Test).configureEach {
useJUnitPlatform()
}