File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
src/main/java/io/github/svaningelgem Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 64
64
<groupId >org.jacoco</groupId >
65
65
<artifactId >org.jacoco.core</artifactId >
66
66
</dependency >
67
+ <dependency >
68
+ <groupId >org.jacoco</groupId >
69
+ <artifactId >jacoco-maven-plugin</artifactId >
70
+ </dependency >
67
71
68
72
<!-- Lombok -->
69
73
<dependency >
Original file line number Diff line number Diff line change 4
4
import org .jetbrains .annotations .NotNull ;
5
5
6
6
public class Defaults {
7
+ private static final boolean USE_ASCII = false ; // disabled for now
8
+
7
9
// Define column widths
8
10
static final int PACKAGE_WIDTH = 50 ;
9
11
static final int METRICS_WIDTH = 20 ;
10
12
11
13
// Define tree characters based on terminal capabilities
12
14
static final String LAST_DIR_SPACE = " " ;
13
- static final String VERTICAL_LINE = "│ " ;
14
- static final String TEE = "├─" ;
15
- static final String CORNER = "└─" ;
15
+ static final String VERTICAL_LINE = USE_ASCII ? "| " : "│ " ;
16
+ static final String TEE = USE_ASCII ? "+-" : "├─" ;
17
+ static final String CORNER = USE_ASCII ? " \\ -" : "└─" ;
16
18
17
19
static final String DIVIDER = getDivider ();
18
20
static final String LINE_FORMAT = "%-" + PACKAGE_WIDTH + "s " + VERTICAL_LINE + "%-" + METRICS_WIDTH + "s " + VERTICAL_LINE + "%-" + METRICS_WIDTH + "s " + VERTICAL_LINE + "%-" + METRICS_WIDTH + "s " + VERTICAL_LINE + "%-" + METRICS_WIDTH + "s" ;
Original file line number Diff line number Diff line change 83
83
<scope >compile</scope >
84
84
</dependency >
85
85
86
+ <dependency >
87
+ <groupId >org.jacoco</groupId >
88
+ <artifactId >jacoco-maven-plugin</artifactId >
89
+ <version >[${jacoco.version} ,)</version >
90
+ <scope >provided</scope >
91
+ </dependency >
92
+
86
93
<!-- Logging -->
87
94
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
88
95
<dependency >
You can’t perform that action at this time.
0 commit comments