| /* |
| * This file was generated by the Gradle 'init' task. |
| */ |
| |
| plugins { |
| id 'java-library' |
| } |
| |
| configurations { |
| tests |
| } |
| |
| dependencies { |
| implementation 'org.apache.commons:commons-lang3:3.9' |
| implementation 'org.reactivestreams:reactive-streams:1.0.3' |
| |
| testImplementation 'org.assertj:assertj-core:3.12.2' |
| |
| testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1' |
| testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1' |
| testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1' |
| } |
| |
| test { |
| useJUnitPlatform() |
| } |
| |
| description = 'Apache James :: Metrics :: API' |
| |
| tasks.register('testsJar', Jar) { |
| archiveClassifier = 'tests' |
| from(sourceSets.test.output) |
| } |
| |
| artifacts { |
| tests testsJar |
| } |
| |
| publishing.publications.maven.artifact(testsJar) |