-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (37 loc) · 1.12 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
/*
* Gradle build file for junit-more project.
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
// SpotBugs
id "com.github.spotbugs" version "4.2.3"
}
description = 'Extensions for JUnit'
version = '1.9'
build.doLast {
//tasks.copyJar.execute()
}
dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'junit:junit:4.13.2'
// Use JUnit test framework
testImplementation 'junit:junit:4.13.2'
//spotbugsPlugins
//spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'
}
// declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
//task copyJar(type: Copy, group: "Custom", description: "Copies the jar into lib directory") {
// from('build/libs/')
// into('lib/')
// include("junit-more-${version}.jar")
// rename("junit-more-${version}.jar", "junit-more.jar")
//}
spotbugs {
toolVersion = '4.0.3'
}