Skip to content
Snippets Groups Projects
Commit e8c4b454 authored by Christian Meyer's avatar Christian Meyer
Browse files

ZmtJavaPlugin, ZmtPublishPlugin.java: changed configuration 'tests' to 'test'

parent 41996c9b
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class ZmtJavaPlugin implements Plugin<Project> {
task('testJar', type: Jar) {
group = 'Build'
description = 'Assembles a jar archive containing the test classes'
classifier 'tests'
classifier 'test'
from sourceSets.test.output
}
......@@ -61,12 +61,12 @@ class ZmtJavaPlugin implements Plugin<Project> {
// for referring to the test jar file from other projects
configurations {
tests.extendsFrom(testCompile)
create('test').extendsFrom(testCompile)
}
// the output of the 'testJar' task is added to the configuration
artifacts {
tests testJar
test testJar
}
}
......
......@@ -29,7 +29,7 @@ class ZmtPublishPlugin implements Plugin<Project> {
}
artifact testJar {
classifier "tests"
classifier "test"
}
artifact testSourceJar {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment