-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (43 loc) · 950 Bytes
/
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
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
}
apply plugin: 'java-library'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
group = prjGroup
version = prjVer
sourceCompatibility = prjCompat
targetCompatibility = prjCompat
dependencies {
implementation 'org.slf4j:slf4j-api:2.0.9'
testImplementation 'org.easymock:easymock:4.3'
testImplementation 'org.powermock:powermock-api-easymock:2.0.9'
testImplementation 'org.powermock:powermock-module-testng:2.0.9'
testImplementation 'org.testng:testng:7.4.0'
}
eclipse {
classpath {
downloadJavadoc = true
downloadSources = true
}
}
artifacts {
archives shadowJar
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
test {
useTestNG() {
suites 'src/test/resources/testng.xml'
}
}