Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for compileOnlyApi (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Previously, when using the `main` source set, new `implementation`, `compileOnly`, `runtimeOnly`, `api`, and `compileOnlyApi` configurations were created, and the compile and runtime classpaths of the `main` source set were configured to extend these configurations.
    
    Starting in Gradle 9.0, the `main` source set will be treated like any other source set.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top