Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 780 for applyTo (0.21 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

      }
    }
    // Apply the plugin defined in the buildscript block
    plugins {
      id("org.barfuin.gradle.taskinfo") version "2.1.0"
    }
    ----
    
    |<<sec:script_plugins,4>>
    |Apply a *local* script plugins.
    |<<sec:script_plugins,The legacy `apply()` method in the build file>>
    a|
    [source,kotlin]
    ----
    apply(plugin = "org.barfuin.gradle.taskinfo")
    apply<MyPlugin>()
    ----
    |===
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/ToolchainsParallelActionExecutionCrossVersionSpec.groovy

                rootProject.name = 'root'
                include 'a', 'b'
            """
            buildFile << """
                allprojects {
                    apply plugin: ToolchainPlugin
                    apply plugin: 'java'
    
                    java {
                        toolchain {
                            // Using a toolchain that triggers auto-provisioning is needed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 05:31:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. pkg/test/framework/config.go

    	if err != nil {
    		panic(err)
    	}
    
    	return c.Eval(ns, args, templates...)
    }
    
    func (c *configPlan) Apply(opts ...apply.Option) error {
    	// Apply the options.
    	options := apply.Options{}
    	for _, o := range opts {
    		o.Set(&options)
    	}
    
    	// Apply for each namespace concurrently.
    	g, _ := errgroup.WithContext(context.TODO())
    	for ns, y := range c.yamlText {
    		ns, y := ns, y
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerAccessRuleCrossVersionSpec.groovy

        def setup() {
            settingsFile << 'rootProject.name = "root"'
        }
    
        def "Has no access rules"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       containers 'classpathContainerPath'
                   }
               }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

            def jdk11 = AvailableJavaHomes.getJdk(JavaVersion.VERSION_11)
            def jdk17 = AvailableJavaHomes.getJdk(JavaVersion.VERSION_17)
    
            buildFile << """
                apply plugin: "java"
                apply plugin: "application"
    
                application.mainClass = "Main"
    
                java {
                    sourceCompatibility = "${JavaVersion.VERSION_11}"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            testDirAttributes.find { it.name == 'gradle_used_by_scope' && it.value == 'test' }
        }
    
        def "Source folder defines additional classpath attributes"() {
            buildFile <<
                """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            """
            buildFile << """
                project(':app') {
                    apply plugin: 'cpp-application'
                    application {
                        dependencies { implementation project(':lib') }
                    }
                }
                project(':lib') {
                    apply plugin: 'cpp-library'
                    apply plugin: 'cpp-unit-test'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

        def "Eclipse model provides javadoc location via classpath attributes"() {
            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               ${mavenCentralRepository()}
               dependencies { ${implementationConfiguration} 'com.google.guava:guava:18.0' }
               eclipse {
                   classpath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/JavaPluginImplementation.groovy

                public class SneakyPlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        Object value = ${read.javaExpression};
                        System.out.println("apply = " + value);
    
                        project.getTasks().register("thing", t -> {
                            t.doLast(new Action<Task>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            settingsFile << """
                include("a")
                include("b")
            """
            buildFile << """
                plugins.apply(my.MyPlugin)
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            // Intentionally don't apply to project b. Should split this case (some projects don't have the model available) out into a separate test
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top