Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,320 for toolChain (0.12 sec)

  1. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy

            directories*.source == ["Maven Toolchains", "Maven Toolchains"]
    
            where:
            useProperty << [true, false]
        }
    
        def "supplies single path for a single toolchain with non-resolvable environment variable"(boolean useProperty) {
            given:
            def toolchains = mavenHome.createFile(new File("toolchains.xml"))
            toolchains.write('''<toolchains>
                <toolchain>
                <type>jdk</type>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainDiscoveryIntegrationTest.groovy

        def helloWorldApp = new CHelloWorldApp()
    
        def setup() {
            buildFile << """
    apply plugin: 'c'
    
    model {
        toolChains {
            ${toolChain.buildScriptConfig}
        }
        components {
            main(NativeExecutableSpec) {
                binaries.all {
                    lib library: 'hello', linkage: 'static'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            then:
            toolchain.isPresent()
            !toolchain.get().isFallbackToolchain()
            toolchain.get().languageVersion == JavaLanguageVersion.of(17)
            toolchain.get().getInstallationPath().toString() == currentJvm.location.absolutePath
        }
    
        def "returns fallback toolchain if filter is not configured"() {
            given:
            def currentJvm = locationFor("17")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

            then:
            failureDescriptionStartsWith("Execution failed for task ':javadoc'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javadocTool` property")
        }
    
        def "fails on toolchain and executable mismatch (without java-base plugin)"() {
            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/toolchains/DefaultToolChainSelectorTest.groovy

    import org.gradle.nativeplatform.platform.internal.OperatingSystemInternal
    import org.gradle.nativeplatform.toolchain.internal.NativeLanguage
    import org.gradle.nativeplatform.toolchain.internal.NativeToolChainInternal
    import org.gradle.nativeplatform.toolchain.internal.NativeToolChainRegistryInternal
    import org.gradle.nativeplatform.toolchain.internal.PlatformToolProvider
    import org.gradle.util.UsesNativeServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gotoolchain_issue66175.txt

    [!GOOS:plan9] env PATH=
    
    # check for invalid toolchain in go.mod
    go mod init m
    go mod edit -go=1.14 -toolchain=go1.22
    ! go version
    stderr 'go: invalid toolchain: go1.22 is a language version but not a toolchain version \(go1.22.x\)'
    
    rm go.mod
    go mod init m
    go mod edit -go=1.14 -toolchain=go1.21
    ! go version
    stderr 'go: invalid toolchain: go1.21 is a language version but not a toolchain version \(go1.21.x\)'
    
    rm go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 21:32:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

         * @return the toolchain selected by <code>maven-toolchains-plugin</code>
         */
        Toolchain getToolchainFromBuildContext(String type, MavenSession context);
    
        /**
         * Select all toolchains available in user settings matching the type and requirements,
         * independently from <code>maven-toolchains-plugin</code>.
         *
         * @param session the Maven session, must not be {@code null}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/NativeToolChainDiscoveryIntegrationTest.groovy

        def "can discover tool chain in environment"() {
            given:
            toolChain.initialiseEnvironment()
    
            and:
            buildFile << """
    apply plugin: 'cpp'
    model {
        toolChains {
            tc(${toolChain.implementationClass}) {
                // For software model builds, windows defaults to 32-bit target, so if we discard the toolchain init script,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy

    import org.gradle.nativeplatform.toolchain.GccCommandLineToolConfiguration
    import org.gradle.nativeplatform.toolchain.GccPlatformToolChain
    import org.gradle.nativeplatform.toolchain.NativePlatformToolChain
    import org.gradle.nativeplatform.toolchain.internal.NativeLanguage
    import org.gradle.nativeplatform.toolchain.internal.PlatformToolProvider
    import org.gradle.nativeplatform.toolchain.internal.ToolType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaToolchainSpec.java

     * limitations under the License.
     */
    
    package org.gradle.jvm.toolchain;
    
    import com.google.common.base.MoreObjects;
    import org.gradle.api.Describable;
    import org.gradle.api.provider.Property;
    import org.gradle.internal.HasInternalProtocol;
    
    /**
     * Requirements for selecting a Java toolchain.
     * <p>
     * A toolchain is a JRE/JDK used by the tasks of a build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top