Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for fromResolutionResult (0.25 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaIntegTest.groovy

                        maven(MavenPublication) {
                            from components.java
                            versionMapping {
                                allVariants {
                                    fromResolutionResult()
                                }
                            }
                        }
                    }
                }
            """)
    
            when:
            run "publish"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

                        ivy(IvyPublication) {
                            from components.java
                            versionMapping {
                                usage('java-runtime') {
                                    fromResolutionResult()
                                }
                            }
                        }
                    }
                }
    """)
    
            when:
            succeeds "publish"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy

    """
            if (mapping) {
                extra = """
    project(":project1") {
        publishing {
            publications.maven {
                versionMapping {
                    usage(Usage.JAVA_API) {
                        fromResolutionResult()
                    }
                }
            }
        }
    }
    """ + extra
            }
            createBuildScripts(extra)
    
            when:
            run "publish"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPublication.java

         * publishing {
         *   publications {
         *     maven(MavenPublication) {
         *       from components.java
         *       versionMapping {
         *         usage('java-runtime'){
         *           fromResolutionResult()
         *         }
         *       }
         *     }
         *   }
         * }
         * </pre>
         *
         * @param configureAction the configuration
         *
         * @since 5.2
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/IvyPublication.java

         *
         * publishing {
         *   publications {
         *     maven(IvyPublication) {
         *       from components.java
         *       versionMapping {
         *         usage('java-runtime'){
         *           fromResolutionResult()
         *         }
         *       }
         *     }
         *   }
         * }
         * </pre>
         *
         * @param configureAction the configuration
         *
         * @since 5.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_ivy.adoc

    Gradle will also use the versions resolved on the `runtimeClasspath` for dependencies declared in `implementation`, which are mapped to the `runtime` configuration of Ivy.
    `fromResolutionResult()` indicates that Gradle should use the default classpath of a variant and `runtimeClasspath` is the default classpath of `java-runtime`.
    
    [[publishing_ivy:repositories]]
    == Repositories
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_maven.adoc

    Gradle will also use the versions resolved on the `runtimeClasspath` for dependencies declared in `implementation`, which are mapped to the `runtime` scope of Maven.
    `fromResolutionResult()` indicates that Gradle should use the default classpath of a variant and `runtimeClasspath` is the default classpath of `java-runtime`.
    
    [[publishing_maven:repositories]]
    == Repositories
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top