From 0cfe6c72747a56d58e049d94b27bfe02f69a86f3 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 10 May 2024 00:18:33 -0700 Subject: [PATCH] Added source files for JaCoCo --- src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java index 5e7fbfc..5bb7064 100644 --- a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java +++ b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java @@ -57,6 +57,7 @@ import static rife.bld.dependencies.Scope.test; public class BitlyShortenBuild extends Project { final File srcMainKotlin = new File(srcMainDirectory(), "kotlin"); + public BitlyShortenBuild() { pkg = "net.thauvin.erik"; name = "bitly-shorten"; @@ -74,7 +75,7 @@ public class BitlyShortenBuild extends Project { .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin)) .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-common", kotlin)) .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-jdk8", kotlin)) - // + // OkHttp .include(dependency("com.squareup.okhttp3", "okhttp", okHttp)) .include(dependency("com.squareup.okhttp3", "logging-interceptor", okHttp)) // JSON @@ -172,6 +173,7 @@ public class BitlyShortenBuild extends Project { public void jacoco() throws IOException { new JacocoReportOperation() .fromProject(this) + .sourceFiles(srcMainKotlin) .execute(); }