Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 404 for bundles (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

            }
        }
    
        def "can use nested versions, libraries and bundles"() {
            tomlFile << """
    [versions]
    commons-lib = "1.0"
    
    [libraries]
    my-lib = {group = "org.gradle.test", name="lib", version.ref="commons-lib"}
    my-lib2 = {group = "org.gradle.test", name="lib2", version.ref="commons-lib"}
    
    [bundles]
    my-bundle = ["my-lib"]
    other-bundle = ["my-lib", "my-lib2"]
    
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                kind('dependency bundles')
                inConflict('one.cool', 'oneCool')
                getterName('getOneCoolBundle')
            })
    
            when:
            generate {
                library('foo', 'g:a:v')
                library('bar', 'g:a:v')
                bundle('one.cool', ['foo', 'bar'])
                bundle('oneCool', ['foo', 'bar'])
    
                bundle("other.cool", ['foo'])
                bundle("other_cool", ['bar'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

        outputBndrun = layout.buildDirectory.file("my.bndrun")
        bundles = configurations.bundles
        properties = ["project.osgiIdentity" : "org.apache.felix.eventadmin"]
    }
    
    configurations {
        bundles
    }
    
    dependencies {
        bundles 'org.apache.felix:org.apache.felix.framework:6.0.5'
        bundles 'org.apache.felix:org.apache.felix.eventadmin:1.4.6'
        bundles project(":direct")
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/kotlin/gradle/libs.versions.toml

    commons-lang3 = { group = "org.apache.commons", name = "commons-lang3", version = { strictly = "[3.8, 4.0[", prefer="3.9" } }
    guava = "com.google.guava:guava:29.0-jre"
    
    [bundles]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 542 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/groovy/build.gradle

        suites {
            // tag::version-catalogs-deps[]
            test {
                dependencies {
                    runtimeOnly libs.guava
                    implementation libs.commons.lang3
                    implementation.bundle(libs.bundles.groovy)
                }
            }
            // end::version-catalogs-deps[]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. docs_src/custom_docs_ui/tutorial001.py

    @app.get("/redoc", include_in_schema=False)
    async def redoc_html():
        return get_redoc_html(
            openapi_url=app.openapi_url,
            title=app.title + " - ReDoc",
            redoc_js_url="https://unpkg.com/redoc@next/bundles/redoc.standalone.js",
        )
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/groovy/gradle/libs.versions.toml

    commons-lang3 = { group = "org.apache.commons", name = "commons-lang3", version = { strictly = "[3.8, 4.0[", prefer="3.9" } }
    guava = "com.google.guava:guava:29.0-jre"
    
    [bundles]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 542 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/kotlin/build.gradle.kts

            val test by getting(JvmTestSuite::class) {
                dependencies {
                    runtimeOnly(libs.guava)
                    implementation(libs.commons.lang3)
                    implementation.bundle(libs.bundles.groovy)
                }
            }
            // end::version-catalogs-deps[]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/kotlin/build.gradle.kts

        implementation("org.codehaus.groovy:groovy-nio:3.0.5")
    }
    // end::use_catalog_equiv[]
    
    // tag::use_dependency_bundle[]
    dependencies {
        implementation(libs.bundles.groovy)
    }
    // end::use_dependency_bundle[]
    
    // tag::type_unsafe_access[]
    val versionCatalog = versionCatalogs.named("libs")
    println("Library aliases: ${versionCatalog.libraryAliases}")
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 11:03:14 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    
    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/redoc@next/bundles/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top