- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 797 for declErr (0.11 sec)
-
platforms/documentation/docs/src/snippets/testKit/spockQuickstart/groovy/build.gradle
dependencies { testImplementation localGroovy() testImplementation gradleTestKit() } // tag::declare-spock-dependency[] dependencies { testImplementation('org.spockframework:spock-core:2.2-groovy-3.0') { exclude group: 'org.codehaus.groovy' } testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } // end::declare-spock-dependency[] tasks.named('test', Test) { useJUnitPlatform() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 490 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/externalDependency/groovy/build.gradle
// tag::all[] import org.apache.commons.codec.binary.Base64 // tag::declare-classpath[] buildscript { repositories { mavenCentral() } dependencies { classpath group: 'commons-codec', name: 'commons-codec', version: '1.2' } } // end::declare-classpath[] tasks.register('encode') { doLast { def byte[] encodedString = new Base64().encode('hello world\n'.getBytes())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 474 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainerTest.groovy
ex.message == "Cannot declare module replacement that replaces self: o:o->o:o" } def "detects cycles early"() { replacements.module("o:a").replacedBy("o:b") when: replacements.module("o:b").replacedBy("o:a") then: def ex = thrown(InvalidUserDataException) ex.message == "Cannot declare module replacement o:b->o:a because it introduces a cycle: o:b->o:a->o:b"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/declared-substitution/README.adoc
Take for example a single-project build 'unpublished', that produces a java utility library but does not declare a value for the `group` attribute: ==== include::sample[dir="kotlin/anonymous-library",files="build.gradle.kts[]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc
The plugin exposes two <<declaring_dependencies.adoc#sec:what-are-dependency-configurations,configurations>> that can be used to declare dependencies: `api` and `implementation`. The `api` configuration should be used to declare dependencies which are exported by the library API, whereas the `implementation` configuration should be used to declare dependencies which are internal to the component. .Declaring API and implementation dependencies ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 23.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-outgoingCapabilities/kotlin/build.gradle.kts
plugins { `java-library` `maven-publish` } group = "com.acme" version = "1.0" // tag::declare-outgoing-capabilities[] configurations { apiElements { outgoing { capability("com.acme:my-library:1.0") capability("com.other:module:1.1") } } runtimeElements { outgoing { capability("com.acme:my-library:1.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 846 bytes - Viewed (0) -
docs/fr/docs/python-types.md
```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!} ``` ## Déclarer des types Vous venez de voir là où les types sont généralement déclarés : dans les paramètres de fonctions. C'est aussi ici que vous les utiliseriez avec **FastAPI**. ### Types simples Vous pouvez déclarer tous les types de Python, pas seulement `str`. Comme par exemple : * `int` * `float`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
...as `description` and `tax` are optional (with a default value of `None`), this JSON "`object`" would also be valid: ```JSON { "name": "Foo", "price": 45.2 } ``` ## Declare it as a parameter To add it to your *path operation*, declare it the same way you declared path and query parameters: === "Python 3.10+" ```Python hl_lines="16" {!> ../../../docs_src/body/tutorial001_py310.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
It is used by Pydantic and FastAPI to explicitly declare that a value is required. This will let **FastAPI** know that this parameter is required. ### Required with `None` You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`. To do that, you can declare that `None` is a valid type but still use `...` as the default:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 31 02:38:05 UTC 2024 - 25.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/groovy/build.gradle
abstract class JacksonBomAlignmentRule implements ComponentMetadataRule { void execute(ComponentMetadataContext ctx) { ctx.details.with { if (id.group.startsWith("com.fasterxml.jackson")) { // declare that Jackson modules belong to the platform defined by the Jackson BOM belongsTo("com.fasterxml.jackson:jackson-bom:${id.version}", false) } } } } // end::bom-alignment-rule[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0)