Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for mainSources (0.18 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/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

            def asmSources = app.sourceFiles.findAll({it.path == 'asm'})
            def mainSources = app.headerFiles + app.sourceFiles.findAll({it.path != 'asm'})
            mainSources.removeAll {it.path == 'asm'}
            mainSources*.writeToDir(file("src/main"))
            asmSources*.writeToDir(file("src/input"))
            degenerateInputSources()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeContinuousBuildIntegrationTest.groovy

                    mainClass = 'com.example.Main'
                }
                dependencies {
                    implementation 'org.test:library:0.1'
                }
            """
            def mainSource = file("src/main/java/com/example/Main.java")
            mainSource << """
                package com.example;
    
                public class Main {
                    public static void main(String... args) {
                        org.test.Library.print("World");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/core-api/src/main/java/org/gradle/api/attributes/VerificationType.java

        /**
         * A list of directories containing source code, includes code in transitive dependencies
         */
        String MAIN_SOURCES = "main-sources";
    
        /**
         * Binary results of running tests containing pass/fail information
         */
        String JACOCO_RESULTS = "jacoco-coverage";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 23 18:49:28 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

                        attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, objects.named(VerificationType.class, VerificationType.MAIN_SOURCES))
                    }
                }
    
                dependencies {
                    sourceElements project
                }
    
                def testResolve = tasks.register('testResolve') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. 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)
Back to top