Skip to content

Commit

Permalink
bump smile version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulk-asert committed May 23, 2024
1 parent 2ab5714 commit 8d2a56e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ opennlpJdk11Version = 2.2.0
opennlpLatestVersion = 2.3.3
slf4jVersion = 2.0.13
smilePreviousVersion = 3.0.3
smileVersion = 3.1.0
smileVersion = 3.1.1
tablesawVersion = 0.43.1
tikaVersion = 2.9.2
tribuoVersion = 4.3.1
Expand Down
15 changes: 13 additions & 2 deletions subprojects/HousePrices/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
apply plugin: 'groovy'

ext.sv = JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17) ? smileVersion : smilePreviousVersion

dependencies {
implementation "org.apache.groovy:groovy:$groovy4Version"
implementation "nz.ac.waikato.cms.weka:weka-dev:$wekaVersion"
Expand All @@ -29,15 +31,24 @@ dependencies {
implementation "tech.tablesaw:tablesaw-core:$tablesawVersion"
implementation "tech.tablesaw:tablesaw-aggregate:$tablesawVersion"
// runtime 'com.github.fommil.netlib:all:1.1.2'
implementation "com.github.haifengl:smile-core:$smileVersion"
implementation "com.github.haifengl:smile-plot:$smileVersion"
implementation("com.github.haifengl:smile-core:$sv") {
transitive = false
}
implementation("com.github.haifengl:smile-base:$sv") {
transitive = false
}
implementation("com.github.haifengl:smile-plot:$sv") {
transitive = false
}
implementation "org.tribuo:tribuo-regression-libsvm:$tribuoVersion"
implementation "org.tribuo:tribuo-regression-sgd:$tribuoVersion"
implementation "org.tribuo:tribuo-regression-tree:$tribuoVersion"
implementation "org.tribuo:tribuo-anomaly-libsvm:$tribuoVersion"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-csv:$jacksonVersion"
runtimeOnly "org.slf4j:slf4j-jdk14:$slf4jVersion"
runtimeOnly "org.bytedeco:openblas-platform:$openblasPlatformVersion"
// used by smile-plot
runtimeOnly 'org.swinglabs:swingx:1.6.1'
}

tasks.register('versionInfo') {
Expand Down

0 comments on commit 8d2a56e

Please sign in to comment.