-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (43 loc) · 1.26 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
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'com.github.ben-manes.versions' version '0.44.0'
id 'org.javamodularity.moduleplugin' version '1.7.0'
}
allprojects {
group = 'kisonar.poc'
version = '0.0.1-SNAPSHOT'
apply from: "${rootDir}/libraries.gradle"
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'org.javamodularity.moduleplugin'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }
gradlePluginPortal()
}
dependencies {
/* all projects have JUnit + Mockito activated in compilation & execution*/
testImplementation libraries.junit5jupiterEngine
testImplementation libraries.mockito
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(18)
}
}
test {
useJUnitPlatform()
ignoreFailures = false /*continue even there are test failures*/
testLogging {
events "PASSED", "SKIPPED", "FAILED", "STANDARD_OUT", "STANDARD_ERROR"
}
}
task copyDependencies(type: Copy) {
from configurations.default
into 'dependencies'
}
}