Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for compileOnlyApi (0.18 sec)

  1. platforms/documentation/docs/src/docs/userguide/img/java-library-ignore-deprecated-main.dot

       "apiElements" -> "api"
       "apiElements" -> "compileOnlyApi"
    
       "api" [shape="box", label=<<B>api</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
       "compileOnlyApi" [shape="box", label=<<B>compileOnlyApi</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/src/docs/userguide/img/java-library-ignore-deprecated-test.dot

       node [fontname = "Sans"];
       edge [fontname = "Sans"];
    
       "api" [shape="box", label=<<B>api</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
    
       "compileOnlyApi" [shape="box", label=<<B>compileOnlyApi</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
    
       "implementation" [shape="box", label=<<B>implementation</B>>, color="chartreuse3", bgcolor="chartreuse3", style="filled"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/language-java/src/main/java/org/gradle/jvm/component/internal/JvmSoftwareComponentInternal.java

     *
     * <p>TODO: Before publicizing this component, we also need to consider how component extensibility works.
     * For example, for the java-library plugin we have the additional {@code api} and {@code compileOnlyApi}
     * dependency configurations. Do we expect that plugin to write a new feature interface and extend a base
     * interface in order to add the proper getter methods? What about the concrete feature class which implements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top