-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
60 lines (50 loc) · 1.25 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
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'com.gradle.plugin-publish' version '0.11.0'
}
group 'org.fulib'
version 'git describe --tags'.execute().text[1..-2] // strip v and \n
description 'The Fulib Gradle Plugin.'
pluginBundle {
website = 'https://github.com/fujaba/fulibGradle'
vcsUrl = 'https://github.com/fujaba/fulibGradle'
description = project.description
tags = [ 'generate', 'fulib' ]
plugins {
fulibGradle {
displayName = 'fulib'
}
}
mavenCoordinates {
groupId = project.group
artifactId = project.name
version = project.version
}
}
sourceSets {
functionalTest {
}
}
gradlePlugin {
plugins {
testSourceSets(sourceSets.functionalTest)
fulibGradle {
id = "${project.group}.${project.name}"
implementationClass = 'org.fulib.gradle.FulibGradlePlugin'
}
}
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/junit/junit
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testImplementation(group: 'org.spockframework', name: 'spock-core', version: '2.0-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
functionalTestImplementation(group: 'org.spockframework', name: 'spock-core', version: '2.0-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
}