Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for mainSources (0.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        def "custom source sets are not added as source directories by default"() {
    
            buildFile.text = '''
    apply plugin: 'java'
    
    sourceSets {
        main {
            java { srcDirs = ['mainSources'] }
            resources { srcDirs = ['mainResources'] }
        }
    
        foo {
            java { srcDirs = ['fooSources'] }
            resources { srcDirs = ['fooResources'] }
        }
    
        test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

        File fooSource
        File mainSource
        File unknownSource
    
        SwiftDepsHandler.SwiftDeps original
    
        @Subject
        def swiftDepsHandler = new SwiftDepsHandler()
    
        def setup() {
            moduleSwiftDeps = tmpDir.file("module.swiftdeps")
            barSource = tmpDir.file("src/bar.swift").touch()
            fooSource = tmpDir.file("src/foo.swift").touch()
            mainSource = tmpDir.file("src/main.swift").touch()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/build-logic/report-aggregation/src/main/groovy/com.example.report-aggregation.gradle

        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.VERIFICATION))
            attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, objects.named(VerificationType, VerificationType.MAIN_SOURCES))
        }
    }
    
    // A resolvable configuration to collect JaCoCo coverage data
    def coverageDataPath = configurations.create('coverageDataPath') {
        visible = false
        canBeConsumed = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/build-logic/report-aggregation/src/main/kotlin/com.example.report-aggregation.gradle.kts

        extendsFrom(aggregate)
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.VERIFICATION))
            attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, objects.named(VerificationType.MAIN_SOURCES))
        }
    }
    
    // A resolvable configuration to collect JaCoCo coverage data
    val coverageDataPath by configurations.creating {
        isVisible = false
        isCanBeConsumed = false
        extendsFrom(aggregate)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can manually define Assembler source sets"() {
            given:
            helloWorldApp.mainSource.writeToDir(file("src/main"))
            helloWorldApp.getLibraryHeader().writeToDir(file("src/main"))
            helloWorldApp.librarySources[0].writeToDir(file("src/main"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppToolChainChangesIntegrationTest.groovy

                    }
                }
            """
            createDirs("library", "app")
            settingsFile << """
                rootProject.name = 'test'
                include 'library', 'app'
            """
            app.mainSource.writeToDir(file("app/src/main"))
            app.libraryHeader.writeToDir(file("library/src/main"))
            app.commonHeader.writeToDir(file("library/src/main"))
            app.librarySources.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmEcosystemAttributesDetails.java

            attributes.attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, objectFactory.named(VerificationType.class, VerificationType.MAIN_SOURCES));
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy

        def "can manually define C++ source sets"() {
            given:
            helloWorldApp.library.headerFiles.each { it.writeToDir(file("src/shared")) }
    
            file("src/main/cpp/main.cpp") << helloWorldApp.mainSource.content
            file("src/main/cpp2/hello.cpp") << helloWorldApp.librarySources[0].content
            file("src/main/sum-sources/sum.cpp") << helloWorldApp.librarySources[1].content
    
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

        def "can manually define C source sets"() {
            given:
            helloWorldApp.library.headerFiles.each { it.writeToDir(file("src/shared")) }
    
            file("src/main/c/main.c") << helloWorldApp.mainSource.content
            file("src/main/c2/hello.c") << helloWorldApp.librarySources[0].content
            file("src/main/sum-sources/sum.c") << helloWorldApp.librarySources[1].content
    
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top