Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma committed Aug 1, 2024
1 parent dd4a863 commit 3952972
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,8 @@ nb-configuration.xml
## Environment
##############################
.env

##############################
## Build Outputs
##############################
core/sdk/src/main/kotlin/com/viam/sdk/core/util/VersionInfo.kt
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group 'com.viam'
version '0.0.6'
version '0.0.7-SNAPSHOT'

repositories {
google()
Expand Down
2 changes: 1 addition & 1 deletion core/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ abstract class CreateVersionFileTask extends DefaultTask {
tasks.register("createVersionsFile", CreateVersionFileTask)

afterEvaluate {
tasks.compileJava.dependsOn 'createVersionsFile'
tasks.compileKotlin.dependsOn 'createVersionsFile'
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MetadataTest {
assertNotNull(versionString)
val components = versionString!!.split(";")
assertEquals(components[0], "java")
assertTrue(components[1].matches("v[0-9]+\\.[0-9]+\\.[0-9]+".toRegex()))
assertTrue(components[1].matches("v[0-9]+\\.[0-9]+\\.[0-9]+(-SNAPSHOT)?".toRegex()))
assertTrue(components[2].matches("(v[0-9]+\\.[0-9]+\\.[0-9]+)|unreleased".toRegex()))
}
}
8 changes: 4 additions & 4 deletions java/services/mlmodel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ext.pomDisplayName = "Viam Java SDK - MLModel Service"

dependencies {
api project(':core:services:viam-core-sdk-mlmodel-service')
implementation "ai.djl:api:0.26.0"
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.26.0"
runtimeOnly "ai.djl.onnxruntime:onnxruntime-engine:0.26.0"
implementation "ai.djl:api:0.29.0"
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.29.0"
runtimeOnly "ai.djl.onnxruntime:onnxruntime-engine:0.29.0"
}

java {
Expand All @@ -20,4 +20,4 @@ java {

downloadLicenses {
dependencyConfiguration = 'runtime'
}
}

0 comments on commit 3952972

Please sign in to comment.