-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (32 loc) · 1005 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
// All projects share the same group and version info
allprojects {
group 'info.mmpa'
version '1.0.0-SNAPSHOT'
}
// Sub-projects all are at a minimum Java based and thus can be configured with common Java attributes
subprojects {
apply plugin: 'java'
// Shared common dependency definitions
apply from: rootProject.file('dependencies.gradle')
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
}
// Test framework setup
test {
useJUnitPlatform()
systemProperty 'junit.jupiter.execution.parallel.enabled', true
systemProperty 'junit.jupiter.execution.parallel.mode.default', 'concurrent'
testLogging {
events 'passed', 'skipped', 'failed'
}
}
plugins.withType(JavaPlugin).configureEach {
dependencies {
testImplementation junit_api
testImplementation junit_params
testRuntimeOnly junit_engine
}
}
}