- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getCompileOnly (0.16 sec)
-
platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/jvm/JvmComponentDependencies.java
* * @return a {@link DependencyCollector} that collects the set of compile-only dependencies * @since 7.6 */ DependencyCollector getCompileOnly(); /** * Returns a {@link DependencyCollector} that collects the set of runtime-only dependencies. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 18:56:03 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy
DependencyCollector getApi(); 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
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:26 UTC 2024 - 30.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy
public interface ApplicationDependencies extends Dependencies { DependencyCollector getImplementation(); DependencyCollector getRuntimeOnly(); DependencyCollector getCompileOnly(); } """ def javaSourceDir = new File(jvmPluginDir, 'src/main/java/org/gradle/api/experimental/java') javaSourceDir.mkdirs()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 11 07:05:10 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmTestSuite.java
implementation.fromDependencyCollector(getDependencies().getImplementation()); runtimeOnly.fromDependencyCollector(getDependencies().getRuntimeOnly()); compileOnly.fromDependencyCollector(getDependencies().getCompileOnly()); annotationProcessor.fromDependencyCollector(getDependencies().getAnnotationProcessor()); if (name.equals(JvmTestSuitePlugin.DEFAULT_TEST_SUITE_NAME)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 22:19:12 UTC 2024 - 14K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc
** Kotlin: `compileOnly(mapOf("group" to "foo", "name" to "bar"))` becomes `compileOnly(module(group = "foo", name = "bar"))` ** Java: `compileOnly(Map.of("group", "foo", "name", "bar"))` becomes `getCompileOnly().add(module("foo", "bar", null))` * You cannot add a dependency with an instance of `Project`. You must turn it into a `ProjectDependency` first. * You cannot add version catalog bundles directly.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 29 02:31:44 UTC 2024 - 37.7K bytes - Viewed (0)