- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for compileOnlyApi (0.43 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/dependencies/JavaConfigurationSetupIntegrationTest.groovy
'java' | 'runtimeClasspath' | FORBIDDEN 'java' | 'annotationProcessor' | VALID 'java' | 'api' | DOES_NOT_EXIST 'java' | 'compileOnlyApi' | DOES_NOT_EXIST 'java-library' | 'compileOnly' | VALID 'java-library' | 'runtimeOnly' | VALID 'java-library' | 'implementation' | VALID
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.7K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java
this.compileOnlyApi = dependencyScope("Compile-only API", JvmConstants.COMPILE_ONLY_API_CONFIGURATION_NAME, true, true); this.apiElements.extendsFrom(api, compileOnlyApi); this.implementation.extendsFrom(api); this.compileOnly.extendsFrom(compileOnlyApi); // TODO: Why do we not always do this? Why only when we have an API?
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 21K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy
it.canBeResolved = true it.canBeDeclared = true } [implementation, runtimeOnly, compileOnly, api, compileOnlyApi].each { it.canBeConsumed = true it.canBeResolved = true } [runtimeClasspath, compileClasspath].each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy
""" when: succeeds "publish" then: javaLibrary.assertPublished() if (mavenScope == 'compile') { if (gradleConfiguration == 'compileOnlyApi') { assertCompileOnlyApiDependencies('org.gradle.test:b:1.2') } else { javaLibrary.assertApiDependencies('org.gradle.test:b:1.2') } } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 45.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc
| no | no | This is where you declare dependencies which are required at compile time, but not at runtime. This typically includes dependencies which are shaded when found at runtime. | `compileOnlyApi` | Declaring compile only API dependencies | no | no
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/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryOutgoingVariantsIntegrationTest.groovy
dependencies { api 'test:api:1.0' implementation project(':other-java') implementation files('file-dep.jar') compileOnly 'test:compile-only:1.0' compileOnlyApi 'test:compile-only-api:1.0' implementation 'test:implementation:1.0' runtimeOnly 'test:runtime-only:1.0' } } project(':consumer') { configurations { consume }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy
DependencyCollector getImplementation(); DependencyCollector getRuntimeOnly(); DependencyCollector getCompileOnly(); // CompileOnlyApi is not included here, since both Android and KMP do not support it. // Does that mean we should also reconsider if we should support it? Or, should we // talk to Android and KMP about adding support
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:26 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
expect: expectConsumableChanging(":$configuration", true) succeeds 'help' where: configuration << ['api', 'implementation', 'runtimeOnly', 'compileOnly', 'compileOnlyApi', 'runtimeClasspath', 'compileClasspath'] } def "changing usage for a configuration in the legacy role is allowed"() { given: buildFile << """ configurations.create('custom')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 01:42:49 UTC 2024 - 27.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/jvm_test_suite_plugin.adoc
<3> Configure a new test suite which adds a `project()` dependency to the suite's compile and runtime classpaths. This dependency provides access to the project's outputs as well as any dependencies declared on its `api` and `compileOnlyApi` configurations. == Configure source directories of a test suite ==== include::sample[dir="snippets/testing/test-suite-configure-source-dir/kotlin",files="build.gradle.kts[tags=configure-source-dir]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 14:47:11 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/building_java_projects.adoc
``` Following two simple best practices will avoid this problem: 1. Don't create configurations with names that will be used by source sets, such as names ending in `Api`, `Implementation`, `ApiElements`, `CompileOnly`, `CompileOnlyApi`, `RuntimeOnly`, `RuntimeClasspath` or `RuntimeElements`. (This list is not exhaustive.) 2. Create any custom source sets prior to any custom configurations.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 44.1K bytes - Viewed (0)