Skip to content

Commit 0d6e75a

Browse files
renovate[bot]mnonnenmacher
authored andcommitted
deps: update ort to v54
The `withResolvedScopes()` function was moved from the ORT `model` to the `analyzer`, so the `analyzer` has to be added as a new dependency.
1 parent 306383e commit 0d6e75a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gradle/libs.versions.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ log4jApi = "2.24.3"
1212
log4jApiKotlin = "1.5.0"
1313
logbackImpl = "1.5.17"
1414
moleculeRuntime = "2.0.0"
15-
ort = "53.0.0"
15+
ort = "54.0.0"
1616
richtext = "0.20.0"
1717

1818
[plugins]
@@ -32,6 +32,7 @@ log4jApiKotlin = { module = "org.apache.logging.log4j:log4j-api-kotlin", version
3232
log4jApiToSlf4j = { module = "org.apache.logging.log4j:log4j-to-slf4j", version.ref = "log4jApi" }
3333
logbackClassic = { module = "ch.qos.logback:logback-classic", version.ref = "logbackImpl" }
3434
moleculeRuntime = { module = "app.cash.molecule:molecule-runtime", version.ref = "moleculeRuntime" }
35+
ortAnalyzer = { module = "org.ossreviewtoolkit:analyzer", version.ref = "ort" }
3536
ortDetektRules = { module = "org.ossreviewtoolkit:detekt-rules", version.ref = "ort" }
3637
ortModel = { module = "org.ossreviewtoolkit:model", version.ref = "ort" }
3738
ortPackageConfigurationProviders = { module = "org.ossreviewtoolkit.plugins:package-configuration-providers", version.ref = "ort" }
@@ -40,5 +41,5 @@ richtextCommonmark = { module = "com.halilibo.compose-richtext:richtext-commonma
4041
richtextUiMaterial = { module = "com.halilibo.compose-richtext:richtext-ui-material", version.ref = "richtext" }
4142

4243
[bundles]
43-
ort = ["ortModel", "ortReporter"]
44+
ort = ["ortAnalyzer", "ortModel", "ortReporter"]
4445
richtext = ["richtextCommonmark", "richtextUiMaterial"]

src/main/kotlin/model/OrtModel.kt

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import kotlinx.coroutines.withContext
1616

1717
import org.apache.logging.log4j.kotlin.logger
1818

19+
import org.ossreviewtoolkit.analyzer.withResolvedScopes
1920
import org.ossreviewtoolkit.model.OrtResult
2021
import org.ossreviewtoolkit.model.config.CopyrightGarbage
2122
import org.ossreviewtoolkit.model.config.FileArchiverConfiguration

0 commit comments

Comments
 (0)