diff --git a/subprojects/Iris/build.gradle b/subprojects/Iris/build.gradle index 998fda7..621fbbf 100644 --- a/subprojects/Iris/build.gradle +++ b/subprojects/Iris/build.gradle @@ -69,7 +69,12 @@ dependencies { implementation "tech.tablesaw:tablesaw-core:$tablesawVersion" implementation "tech.tablesaw:tablesaw-jsplot:$tablesawVersion" implementation "org.knowm.xchart:xchart:$knowmXchartVersion" - implementation "com.github.haifengl:smile-core:$smileVersion" + implementation("com.github.haifengl:smile-core:$smileVersion") { + transitive = false + } + implementation("com.github.haifengl:smile-base:$smileVersion") { + transitive = false + } implementation "org.encog:encog-core:3.4" implementation("com.deepnetts:deepnetts-core:1.13.2") { exclude(group: 'org.apache.commons', module: 'commons-lang3') @@ -113,8 +118,12 @@ tasks.register('checkJavaFXCompatibility') { } } +def runall = tasks.register('runAll') { + group 'Application' +} + FileUtil.baseNames(sourceSets.main.allSource.files, ['InstallWekaPackages']).each { name -> - tasks.register("run$name", JavaExec) { + def subtask = tasks.register("run$name", JavaExec) { group 'Application' if (name.contains('Datumbox')) dependsOn(checkJdk11Compatibility) if (name.contains('JavaFX') && !JavaVersion.current().java11Compatible) dependsOn(checkJavaFXCompatibility) @@ -122,4 +131,7 @@ FileUtil.baseNames(sourceSets.main.allSource.files, ['InstallWekaPackages']).eac classpath = sourceSets.main.runtimeClasspath mainClass = name } + runall.configure { + dependsOn subtask + } }