Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 780 for applyTo (0.19 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

            setup:
            multiProjectBuildInRootFolder("root", ["child1", "child2"]) {
                buildFile << """
                subprojects {
                    apply plugin: 'java-library'
                }
                project(":child2") {
                    apply plugin: 'eclipse'
                    configurations {
                        toRemove
                    }
                    eclipse {
                        classpath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

                    id("org.jetbrains.kotlin.jvm") version kotlinVersion
                    id("org.jetbrains.kotlin.kapt") version kotlinVersion apply false
                    id("java") apply false
    
                    val app = id("application")
                    app.apply(false)
                }""".trimIndent()
            val result = schema.reflect(code)
    
            printReflection(result)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/SoftwareTypeRegistryIntegration.kt

                }
                val additions = buildList {
                    softwareType.conventions.filterIsInstance<AdditionRecordConvention>().forEach { it.apply(::add) }
                }
                val nestedObjectAccess = buildList {
                    softwareType.conventions.filterIsInstance<NestedObjectAccessConvention>().forEach { it.apply(::add) }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r212/ToolingApiIdeaModelCrossVersionSpec.groovy

            buildFile << """
                apply plugin: 'idea'
    
                idea {
                    project {
                        languageLevel = 1.7
                    }
                }
    
                project(':child1') {
                }
    
                project(':child2') {
                    apply plugin: 'java'
                    ${javaSourceCompatibility(targetVersion, JavaVersion.VERSION_1_2)}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

            settingsFile << """
                rootProject.name = 'root'
                include 'a', 'b'
            """
            buildFile << """
                allprojects {
                    apply plugin: CustomPlugin
                    apply plugin: 'java'
                }
            """
    
            expect:
            def models = withConnection {
                def action = action(new ActionRunsMultipleLevelsOfNestedActions())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryAccessRuleCrossVersionSpec.groovy

            sourceDirectory.accessRules.isEmpty()
        }
    
        def "Has some access rules defined"() {
            buildFile <<
            """import org.gradle.plugins.ide.eclipse.model.AccessRule
               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
    - 2.6K bytes
    - Viewed (0)
  7. integration-tests/gradle/build.gradle.kts

            group = "org.jetbrains.trove4j"
          ) // Might not be available on Maven Central and not needed for this test
        }
      }
    }
    
    subprojects {
      if (name.endsWith("Java")) {
        apply(plugin = "java-library")
      } else {
        apply(plugin = "com.android.application")
        the<com.android.build.gradle.AppExtension>().compileSdkVersion(30)
      }
    
      var expectedClasspath =
        if (runningGradle5) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt

        override fun apply(receiver: AssignmentRecordConventionReceiver) {
            receiver.receive(assignmentRecord)
        }
    }
    
    
    /**
     * A convention that applies a data addition operation (e.g. addFoo("bar")).
     */
    class AdditionRecordConvention(private val dataAdditionRecord: DataAdditionRecord) :
        Convention<AdditionRecordConventionReceiver> {
        override fun apply(receiver: AdditionRecordConventionReceiver) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceDirectoryOutputCrossVersionSpec.groovy

        }
    
        def "Source directory has custom output"() {
            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile << """
                apply plugin: 'java'
                apply plugin: 'eclipse'
    
                eclipse.classpath.file.whenMerged {
                    entries.find { entry -> entry.path == 'src/test/java' }.output = null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tests/integration/ambient/registry_setup_test.go

    			[]byte(createDockerCredential(registryUser, registryPasswd, registry.Address()))),
    	}
    	if err := ctx.ConfigIstio().EvalFile(apps.Namespace.Name(), args, "testdata/registry-secret.yaml").
    		Apply(apply.CleanupConditionally); err != nil {
    		return err
    	}
    	return nil
    }
    
    func createDockerCredential(user, passwd, registry string) string {
    	credentials := `{
    	"auths":{
    		"%v":{
    			"username": "%v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top