- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for compileOnlyApi (0.28 sec)
-
platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy
when: def compileOnlyApi = project.configurations.getByName(JvmConstants.COMPILE_ONLY_API_CONFIGURATION_NAME) then: compileOnlyApi.extendsFrom == [] as Set !compileOnlyApi.visible compileOnlyApi.transitive !compileOnlyApi.canBeConsumed !compileOnlyApi.canBeResolved when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 20:08:52 UTC 2024 - 9K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ProjectInternalViewDependencyIntegrationTest.groovy
compileOnly "org.apache.commons:commons-lang3:3.12.0" api "org.springframework:spring-core:5.3.22" compileOnlyApi "com.google.guava:guava:32.1.2-jre" } """ writeBaseBuildFile() writeNonApiAccessibilityTest() writeApiAccessibilityTest() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 5K 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-library/src/main/java/org/gradle/api/plugins/JavaLibraryPlugin.java
project.getPluginManager().apply(JavaPlugin.class); JvmSoftwareComponentInternal component = JavaPluginHelper.getJavaComponent(project); component.getMainFeature().withApi(); // Make compileOnlyApi visible to tests. JvmTestSuite defaultTestSuite = JavaPluginHelper.getDefaultTestSuite(project); project.getConfigurations() .getByName(defaultTestSuite.getSources().getCompileOnlyConfigurationName())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 13:02:41 UTC 2024 - 1.9K 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/jvm/platform-jvm/src/main/java/org/gradle/api/internal/tasks/JvmConstants.java
* but not at runtime. * * @since 6.7 */ public static final String COMPILE_ONLY_API_CONFIGURATION_NAME = "compileOnlyApi"; /** * The name of the runtime only dependencies configuration, used to declare dependencies * that should only be found at runtime. * * @since 3.4 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 7K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/plugins/jvm/internal/JvmFeatureInternal.java
/** * Configures this feature to publish a variant containing a list of this feature's source directories. */ void withSourceElements(); /** * Adds the {@code api} and {@code compileOnlyApi} dependency configurations to this feature. * * TODO: Should this live on the "base" JVM feature? Should all JVM features know how to add
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 8.9K 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)