@@ -167,19 +167,6 @@ jacocoTestReport {
167167 xml. required = true
168168 csv. required = true
169169 }
170-
171- // Exclude specific directories or files from coverage
172- afterEvaluate {
173- classDirectories. setFrom(
174- files(classDirectories. files. collect {
175- fileTree(dir : it, exclude : [
176- ' **/common/service/**' ,
177- ' **/catalog/**' ,
178- ' **/narrativemethodstore/**' ,
179- ])
180- })
181- )
182- }
183170}
184171
185172// TODO BUILD the other script tasks could possibly be made simpler with some of the
@@ -309,16 +296,23 @@ dependencies {
309296 implementation(' com.github.kbase:auth2_client_java:0.5.0' ) {
310297 exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
311298 }
299+ implementation(' com.github.kbase:catalog:2.3.1' ) {
300+ exclude group : ' com.github.kbase' , module : ' java_common'
301+ exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
302+ }
312303 implementation(' com.github.kbase:java_common:0.3.1' ) {
313304 exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
314305 exclude group : ' net.java.dev.jna' // don't include in runtime path
306+ exclude group : ' org.eclipse.jetty.aggregate' // don't include in runtime path
307+ exclude group : ' org.syslog4j' , module : ' syslog4j'
315308 }
316309 implementation(' com.github.kbase:java_kidl:0.2.0' )
317- // TODO DEPS see if this can be removed after switching to the python callback server
318- // Provenance classes are used in various callback server related classes and tests
319- implementation(' com.github.kbase.workspace_deluxe:workspace-client:0.15.0' ) {
310+ implementation(' com.github.kbase:narrative_method_store:v0.3.13' ) {
311+ exclude group : ' com.github.kbase' , module : ' java_common'
320312 exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
321- exclude group : ' net.java.dev.jna' // don't include in runtime path
313+ // TODO DEPS fix these in NMS
314+ exclude group : ' org.mongodb'
315+ exclude group : ' org.eclipse.jetty.aggregate' // don't include in runtime path
322316 }
323317 implementation(' com.fasterxml.jackson.core:jackson-annotations:2.2.3' )
324318 implementation(' com.fasterxml.jackson.core:jackson-databind:2.2.3' )
@@ -329,42 +323,41 @@ dependencies {
329323 }
330324 implementation(' commons-io:commons-io:2.4' )
331325 implementation(' info.picocli:picocli:4.7.7' )
326+ // TODO DEPS the annotation api is needed for
327+ // a couple of SDK compiled classes in mobu/runner that should be factored out
328+ implementation(' javax.annotation:javax.annotation-api:1.3.2' )
332329 implementation(' org.apache.commons:commons-lang3:3.1' )
333330 implementation(' org.apache.velocity:velocity:1.7' )
334331 implementation(' org.ini4j:ini4j:0.5.2' )
335332 implementation(' com.sun.codemodel:codemodel:2.4.1' )
336333 implementation(' org.yaml:snakeyaml:1.11' )
337334 implementation(' com.github.zafarkhaja:java-semver:0.10.2' )
338335
339- // TODO DEPS the deps below are required due to a) the callback server code, b)
340- // tests that mock service wizard and the callback service and
341- // c) java modules created by tests. See if they can be
342- // moved to a test implementation if we swap the callback service for the
343- // python docker image
344- implementation(' ch.qos.logback:logback-classic:1.1.2' )
345- implementation(' org.slf4j:slf4j-api:1.7.7' )
346- // TODO DEPS the annotation api is also needed for
347- // a couple of SDK compiled classes in mobu/runner that should be factored out
348- implementation(' javax.annotation:javax.annotation-api:1.3.2' )
349- implementation(' joda-time:joda-time:2.2' )
350- // this is OOOOOOLD. But that probably means updating java_common
351- implementation(' org.eclipse.jetty.aggregate:jetty-all:7.0.0.v20091005' )
352- // TODO DEPS Need to rework the java common logger to not use syslog4j at all since it's
353- // abandonware and has a ton of CVEs, even in the newer versions.
354- // Note that the java SDK modules use syslog4j, so we'll need to figure something out
355- // there. I doubt any of the apps actually use the logging code that triggers it though
356- implementation(' org.syslog4j:syslog4j:0.9.46' )
357336
337+ testImplementation(' ch.qos.logback:logback-classic:1.1.2' )
358338 testImplementation (' com.github.kbase:java_test_utilities:0.1.0' ) {
359339 exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
360340 exclude group : ' junit' , module : ' junit'
361341 }
342+ testImplementation(' com.github.kbase.workspace_deluxe:workspace-client:0.15.0' ) {
343+ exclude group : ' com.fasterxml.jackson.core' // don't upgrade yet, breaks tests
344+ exclude group : ' net.java.dev.jna' // don't include in runtime path
345+ }
346+ testImplementation(' joda-time:joda-time:2.2' )
362347 // needed for syslog4j. Used in java test modules and JsonServerServlet subclasses in tests
363348 // but not in SDK code proper.
364349 testImplementation(' net.java.dev.jna:jna:3.4.0' )
365350 testImplementation(" nl.jqno.equalsverifier:equalsverifier:4.0.7" )
351+ // this is OOOOOOLD. But that probably means updating java_common
352+ testImplementation(' org.eclipse.jetty.aggregate:jetty-all:7.0.0.v20091005' )
366353 testImplementation(' org.hamcrest:hamcrest:3.0' )
367354 testImplementation(' org.junit.jupiter:junit-jupiter:5.13.1' )
355+ testImplementation(' org.slf4j:slf4j-api:1.7.7' )
356+ // TODO DEPS Need to rework the java common logger to not use syslog4j at all since it's
357+ // abandonware and has a ton of CVEs, even in the newer versions.
358+ // Note that the java SDK modules use syslog4j, so we'll need to figure something out
359+ // there. I doubt any of the apps actually use the logging code that triggers it though
360+ testImplementation(' org.syslog4j:syslog4j:0.9.46' )
368361
369362 // isolate the sdk generated code dependencies from the standard dependencies
370363
0 commit comments