Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'com.gradleup.shadow' version '9.2.2'
id 'java'
id 'application'
}

group = "org.exercism"
version = "1.0-SNAPSHOT"
mainClassName = 'com.exercism.TestRunner'

tasks.jar {
manifest {
attributes["Main-Class"] = "com.exercism.TestRunner"
}
}

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/exercism/report/ReportWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public ReportWriter(Path outputDirectory) {
public void report(Report report) {
var mapper = new ObjectMapper();
mapper.registerModule(new Jdk8Module());
mapper.setSerializationInclusion(JsonInclude.Include.NON_ABSENT);
mapper.setDefaultPropertyInclusion(JsonInclude.Include.NON_ABSENT);
var filePath = this.outputDirectory.resolve("results.json");

try {
Expand Down