Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OrtModelBuilder (0.14 sec)

  1. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

    // Plugin is responsible for registering a custom tooling model builder
    // (OrtModelBuilder) with the ToolingModelBuilderRegistry, which allows
    // IDEs and other tools to access the custom tooling model.
    class OrtModelPlugin(private val registry: ToolingModelBuilderRegistry) : Plugin<Project> {
        override fun apply(project: Project) {
            registry.register(OrtModelBuilder())
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

    // Implements the ToolingModelBuilder interface.
    // This interface is used in Gradle to define custom tooling models that can
    // be accessed by IDEs or other tools through the Gradle tooling API.
    class OrtModelBuilder implements ToolingModelBuilder {
        private Map<String, String> repositories = [:]
    
        private Set<String> platformCategories = ["platform", "enforced-platform"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top