Ensured exit status is set on failure

This commit is contained in:
Erik C. Thauvin 2024-06-24 20:13:27 -07:00
parent c901065b3a
commit c952b980bb
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 16 additions and 16 deletions

View file

@ -57,7 +57,7 @@ public class ExampleBuild extends Project {
@BuildCommand(summary = "Compiles the Kotlin project")
@Override
public void compile() throws IOException {
public void compile() throws Exception {
// The source code located in src/main/kotlin and src/test/kotlin will be compiled
new CompileKotlinOperation()
.fromProject(this)