Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,796 for buildFile (0.41 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

        def 'locking constraints do not bring back excluded modules'() {
            def foo = mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'bar', '1.0').dependsOn(foo).publish()
    
            buildFile << """
    dependencyLocking {
        lockAllConfigurations()
    }
    
    repositories {
        maven {
            name 'repo'
            url '${mavenRepo.uri}'
        }
    }
    configurations {
        lockedConf
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeIntegrationTest.groovy

            def file = getFile(options, filename)
            new XmlSlurper().parse(file)
        }
    
        protected static void createJavaSourceDirs(TestFile buildFile) {
            buildFile.parentFile.file("src/main/java").createDir()
            buildFile.parentFile.file("src/main/resources").createDir()
        }
    
        protected ExecutionResult runIdeaTask(buildScript) {
            return runTask("idea", buildScript)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

                }
            }
            def jar = file('build/test.jar')
    
            when:
            buildFile.text = jarWithManifest("")
            run 'jar'
    
            then:
            jar.manifest.mainAttributes.getValue('attr') == null
    
            when: "Attribute added"
            buildFile.text = jarWithManifest("attributes(attr: 'Hello')")
            run 'jar'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

        ResolveTestFixture resolve
    
        def setup() {
            settingsFile << "rootProject.name = 'test'"
            buildFile << """
                configurations {
                    conf
                }
            """
            resolve = new ResolveTestFixture(buildFile, 'conf')
            resolve.prepare()
        }
    
        def "can exclude a module from a repository using #notation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        def "setup"() {
            settingsFile << "rootProject.name = 'test'"
            buildFile << app.pluginScript
            buildFile << app.extraConfiguration
        }
    
        @ToBeFixedForConfigurationCache
        def "clean build with PCH does not fail"() {
            given:
            writeStandardSourceFiles()
    
            when:
            buildFile << preCompiledHeaderComponent()
    
            then:
            args("--info")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

        private final ResolveTestFixture resolve = new ResolveTestFixture(buildFile, "conf").expectDefaultConfiguration("runtime")
    
        def setup() {
            settingsFile << "rootProject.name = 'test'"
            resolve.prepare()
            resolve.addDefaultVariantDerivationStrategy()
            buildFile << """
                repositories {
                    maven { url "${mavenRepo.uri}" }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                subdir1 {
                    file 'file1.txt'
                }
                subdir2 {
                    file 'file2.txt'
                    file 'file2.xml'
                }
            }
    
            and:
            buildFile << '''
                task copy(type: Copy) {
                    from zipTree('test.zip')
                    exclude '**/*.xml'
                    into 'dest'
                }
    '''
            when:
            run 'copy'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestSourcesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "source directories from main source sets are not marked with test classpath attribute"() {
            buildFile << """
                plugins {
                    id 'java'
                    id 'eclipse'
                }
            """
            file('src/main/java').mkdirs()
    
            when:
            run 'eclipse'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

    import org.gradle.test.fixtures.file.TestFile
    import spock.lang.Issue
    
    class SigningPublicationsIntegrationSpec extends SigningIntegrationSpec {
    
        def "signs single Maven publication"() {
            given:
            buildFile << """
                apply plugin: 'maven-publish'
                ${keyInfo.addAsPropertiesScript()}
    
                publishing {
                    publications {
                        mavenJava(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryIntegrationTest.groovy

        def "setup"() {
            buildFile << """
    @Managed interface SampleBinary extends BinarySpec {
        String getVersion()
        void setVersion(String version)
    }
    """
        }
    
        def "custom binary type can be registered and created"() {
            when:
            buildWithCustomBinaryPlugin()
    
            and:
            buildFile << '''
    model {
        tasks {
            checkModel(Task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top