-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (57 loc) · 3.13 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Tested with gradle 7.3.3
//
// GRADLE tutorial:
//
// Getting Started With Gradle: Creating a Multi-Project Build
// https://www.petrikainulainen.net/programming/gradle/getting-started-with-gradle-creating-a-multi-project-build/
//
// Getting Started With Gradle
// https://github.com/pkainulainen/gradle-examples
subprojects {
apply plugin: 'java'
version = '22.09.19'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
// Maven doesn't find JRAW's dependency
// Please see: https://www.reddit.com/r/redditdev/comments/7n12zw/maven_doesnt_find_jraws_dependency/
jcenter()
}
dependencies {
// Apache Commons CLI provides a simple API for presenting, processing and validating a Command Line Interface.
// https://mvnrepository.com/artifact/commons-cli/commons-cli
implementation 'commons-cli:commons-cli:1.5.0'
// A complete, Java-based solution for accessing, manipulating, and outputting XML data
// https://mvnrepository.com/artifact/org.jdom/jdom
implementation 'org.jdom:jdom:2.0.2'
// API for Apache Log4J, a highly configurable logging tool that focuses on performance and low garbage generation. It has a plugin architecture that makes it extensible and supports asynchronous logging based on LMAX Disruptor.
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api
implementation 'org.apache.logging.log4j:log4j-api:2.18.0'
// Implementation for Apache Log4J, a highly configurable logging tool that focuses on performance and low garbage generation. It has a plugin architecture that makes it extensible and supports asynchronous logging based on LMAX Disruptor.
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
implementation 'org.apache.logging.log4j:log4j-core:2.18.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
// Mockito mock objects library core API and implementation
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testImplementation 'org.mockito:mockito-core:4.7.0'
// PowerMock API for Mockito 2.+..
// https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2
testImplementation 'org.powermock:powermock-api-mockito2:2.0.9'
// PowerMock support module for JUnit 4.x rules with Java agent
// https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4-rule-agent
testImplementation 'org.powermock:powermock-module-junit4-rule-agent:2.0.9'
// PowerMock support module for JUnit 4.x rules.
// https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4-rule
testImplementation 'org.powermock:powermock-module-junit4-rule:2.0.9'
// PowerMock support module for JUnit 4.x.
// https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4
testImplementation 'org.powermock:powermock-module-junit4:2.0.9'
// PowerMock module for TestNG.
// https://mvnrepository.com/artifact/org.powermock/powermock-module-testng
testImplementation 'org.powermock:powermock-module-testng:2.0.9'
}
}