Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,049 for applyTo (0.17 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            given:
            buildFile << """
                project(':app') {
                    apply plugin: 'swift-application'
                    dependencies {
                        implementation project(':greeter')
                    }
                }
                project(':greeter') {
                    apply plugin: 'swift-library'
                }
            """
            app.library.writeToProject(file("greeter"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

            project.children[0] instanceof IdeaModule
            project.children == project.modules
        }
    
        def "provides basic project information"() {
    
            buildFile.text = """
    apply plugin: 'java'
    apply plugin: 'idea'
    
    idea.project {
      languageLevel = '1.5'
      jdkName = '1.6'
    }
    """
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy

    @TargetGradleVersion('>=4.9')
    class ToolingApiEclipseModelProjectCrossVersionSpec extends ToolingApiSpecification {
    
        def "EclipseProject with default java attributes"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.projectNatures.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/ProjectConfigurationProgressEventCrossVersionSpec.groovy

            file("buildSrc/build.gradle") << """
                allprojects {
                    apply plugin: 'java'
                }
            """
            buildFile << """
                allprojects {
                    apply plugin: 'java'
                }
            """
            file("included/build.gradle") << """
                allprojects {
                    apply plugin: 'java'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

            val previous = resolvedScriptDependencies(editedScript).apply {
                assertContainsBasicDependencies()
            }
    
            val wrongEnv = arrayOf("gradleHome" to existing("absent"))
            resolvedScriptDependencies(editedScript, previous, *wrongEnv).apply {
                assertSame(previous, this)
            }
    
            recorder.apply {
                assertLastEventIsInstanceOf(ResolutionFailure::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/api/plugins/BuildSrcPluginIntegrationTest.groovy

            given:
            executer.requireIsolatedDaemons() // make sure we get the same daemon both times
    
            buildFile << "apply plugin: 'test-plugin'"
    
            file("buildSrc/settings.gradle") << "include 'testplugin'"
    
            file("buildSrc/build.gradle") << """
                apply plugin: "groovy"
                dependencies {
                    runtimeOnly project(":testplugin")
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r29/ToolingApiEclipseModelCrossVersionSpec.groovy

        def "multi-module build defines different natures for each modules"() {
            given:
            buildFile << """
                project(':java-project') { apply plugin: 'java' }
                project(':groovy-project') { apply plugin: 'groovy' }
                project(':scala-project') { apply plugin: 'scala' }
            """
            createDirs("java-project", "groovy-project", "scala-project")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r210/ToolingApiEclipseModelCrossVersionSpec.groovy

            given:
            buildFile << """
                project(':subproject-a') {
                    apply plugin: 'java'
                    ${javaSourceCompatibility(targetVersion, JavaVersion.VERSION_1_1)}
                }
                project(':subproject-b') {
                    apply plugin: 'java'
                    apply plugin: 'eclipse'
                    eclipse {
                        jdt {
                            sourceCompatibility = 1.2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

            """
    
            buildFile << """
                allprojects {
                    apply plugin: 'java'
                    apply plugin: 'idea'
                }
    
                dependencies {
                    implementation project(':a')
                    testImplementation project(':f')
                }
    
                project(':a') {
                    apply plugin: 'java-library'
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

                include("b")
                include("c")
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("b/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top