forked from spockframework/spock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjunit4.gradle
33 lines (27 loc) · 1.16 KB
/
junit4.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
apply from: script("publishMaven")
ext.displayName = "Spock Framework - JUnit 4"
description = '''Spock is a testing and specification framework for Java and Groovy applications.
What makes it stand out from the crowd is its beautiful and highly expressive specification language.
Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers.
Spock is inspired from JUnit, jMock, RSpec, Groovy, Scala, Vulcans, and other fascinating life forms.'''
dependencies {
api projects.spockCore
api libs.junit4
testCompileOnly libs.jetbrains.annotations
testImplementation libs.junit.platform.testkit
testImplementation groovylibs.groovyTest //for @NotYetImplemented
}
tasks.named("jar", Jar) {
manifest {
attributes(
'Build-Revision': versioning.info.commit,
'Specification-Title': project.name,
'Specification-Version': baseVersion,
'Specification-Vendor': 'spockframework.org',
'Implementation-Title': project.name,
'Implementation-Version': variantLessVersion,
'Implementation-Vendor': 'spockframework.org',
'Automatic-Module-Name': 'org.spockframework.junit4'
)
}
}