- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for ToolchainManagement (0.33 sec)
-
platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/settings.gradle
plugins { id 'org.gradle.toolchains.foojay-resolver' version '0.8.0' } import java.util.Optional import javax.inject.Inject apply plugin: MadeUpPlugin // tag::toolchain-management[] toolchainManagement { jvm { // <1> javaRepositories { repository('foojay') { // <2> resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver } repository('made_up') { // <3>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 16:22:45 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-management/kotlin/settings.gradle.kts
import org.gradle.jvm.toolchain.JavaToolchainResolverRegistry import java.net.URI import java.util.Optional import javax.inject.Inject apply<MadeUpPlugin>() // tag::toolchain-management[] toolchainManagement { jvm { // <1> javaRepositories { repository("foojay") { // <2> resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver::class.java }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 16:22:45 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java
* * @since 7.6 */ @Incubating void toolchainManagement(Action<? super ToolchainManagement> toolchainManagementConfiguration); /** * Returns the toolchain management configuration. * * @since 7.6 */ @Incubating ToolchainManagement getToolchainManagement(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 08:36:37 UTC 2024 - 14.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiKotlinIntegrationTest.groovy
def "can inject custom toolchain registry via settings plugin"() { settingsKotlinFile << """ ${applyToolchainRegistryPlugin("CustomToolchainResolver", customToolchainRegistryCode())} toolchainManagement { jvm { javaRepositories { repository("custom") { resolverClass.set(CustomToolchainResolver::class.java) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 10:53:57 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/toolchain_plugins.adoc
<3> Resolver plugins must apply the `jvm-toolchain-management` base plugin. This dynamically adds the `jvm` block to `toolchainManagement`, which makes registered toolchain repositories usable from the build....
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 17:38:38 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/testFixtures/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadUtil.groovy
${resolverCode} } """} apply plugin: ${pluginName} ${(toolchainManagementCode != null) ? toolchainManagementCode : """ toolchainManagement { jvm { javaRepositories { repository('custom') { resolverClass = ${resolverClass} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 11:08:46 UTC 2023 - 3.9K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy
"CustormToolchainResolver", singleUrlResolverCode("https://good_for_nothing.com/"), JavaToolchainDownloadUtil.DEFAULT_PLUGIN, """ toolchainManagement { jvm { javaRepositories { repository('custom') { resolverClass = CustomToolchainResolver
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 16:09:18 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy
settingsFile << applyToolchainResolverPlugin("CustomToolchainResolver", singleUrlResolverCode(archiveUri), DEFAULT_PLUGIN, """ toolchainManagement { jvm { javaRepositories { repository('custom') { resolverClass = CustomToolchainResolver
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:25 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/ToolchainsParallelActionExecutionCrossVersionSpec.groovy
return Optional.empty(); } } apply plugin: FakeResolverPlugin toolchainManagement { jvm { javaRepositories { repository('custom') { resolverClass = FakeResolver }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 05:31:40 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc
The following example uses these toolchain resolvers in a build via the `toolchainManagement` block in the settings file: ==== include::sample[dir="snippets/java/toolchain-management/kotlin/",files="settings.gradle.kts[tags=toolchain-management]"] include::sample[dir="snippets/java/toolchain-management/groovy/",files="settings.gradle[tags=toolchain-management]"] ==== <1> In the `toolchainManagement` block, the `jvm` block contains configuration for Java toolchains.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:37:54 UTC 2024 - 24.8K bytes - Viewed (0)