Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for javaProject (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            javaProject(file("a"))
            javaProject(file("b"), """
                dependencies {
                    implementation(project(':a'))
                }
            """)
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildContinueOnMultipleFailuresIntegrationTest.groovy

        def setup() {
            buildB = singleProjectBuild('buildB') {
                buildFile << javaProject()
                file('src/test/java/SampleTestB.java') << junitTestClass('SampleTestB')
            }
    
            buildC = multiProjectBuild('buildC', ['sub1', 'sub2', 'sub3']) {
                buildFile << """
                    allprojects {
                        ${javaProject()}
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:27 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleCompositeBuildGroupedTaskFunctionalTest.groovy

        private static final String HELLO_WORLD_MESSAGE = 'Hello world'
        private static final String BYE_WORLD_MESSAGE = 'Bye world'
    
        def setup() {
            file("$PROJECT_A_NAME/build.gradle") << javaProject()
            file("$PROJECT_A_NAME/build.gradle") <<
                """
                    task helloWorld {
                        doLast {
                            logger.quiet 'Hello world'
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r29/ToolingApiEclipseModelCrossVersionSpec.groovy

            EclipseProject javaProject = rootProject.children.find{ it.name == 'java-project' }
            EclipseProject groovyProject = rootProject.children.find{ it.name == 'groovy-project' }
            EclipseProject scalaProject = rootProject.children.find{ it.name == 'scala-project' }
    
            then:
            rootProject.projectNatures.collect{ it.id } == []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpWebAndJavaProjectIntegrationTest.groovy

                    }
                }
                """
    
            when:
            run "eclipse"
    
            then:
            // Builders and natures
            def javaProject = project('java')
            javaProject.assertHasJavaFacetNatures()
            javaProject.assertHasJavaFacetBuilders()
    
            def webProject = project('web')
            webProject.assertHasJavaFacetNatures()
            webProject.assertHasJavaFacetBuilders()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpEarAndWebAndEjbProjectIntegrationTest.groovy

        }
    }
    """
    
            when:
            run "eclipse"
    
            then:
            // This test covers actual behaviour, not necessarily desired behaviour
    
            // Builders and natures
            def javaProject = project('java')
            def webProject = project('web')
            def earProject = project('ear')
    
            // Classpath
            def javaClasspath = classpath('java')
            def webClasspath = classpath('web')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

        private static final String JAVA_TEST_FILE_PATH = 'src/test/java/MyTest.java'
    
        abstract ConsoleOutput getConsoleType()
    
        def setup() {
            buildFile << javaProject()
        }
    
        def "can group failed test log event with task by default"() {
            given:
            file(JAVA_TEST_FILE_PATH) << javaTestClass {
                'throw new RuntimeException("expected");'
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-plugin-performance/build.gradle.kts

            because("so that all Gradle features are available")
        }
    }
    
    performanceTest.registerTestProject<gradlebuild.performance.generator.tasks.JvmProjectGeneratorTask>("javaProject") {
        dependencyGraph.run {
            size = 200
            depth = 5
            useSnapshotVersions = false // snapshots should not have a build scan specific performance impact
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/SamplesMavenPublishIntegrationTest.groovy

            module.assertNotPublished()
            localModule.assertPublishedAsJavaModule()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("maven-publish/javaProject")
        def "publish java project with #dsl dsl"() {
            given:
            def sampleDir = sampleProject.dir.file(dsl)
            executer.inDirectory(sampleDir)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

        VerboseVfsLogAccessor vfsLogs
    
        def setup() {
            buildTestFixture.withBuildInSubDir()
            def subprojects = (1..NUMBER_OF_SUBPROJECTS).collect { "project$it" }
            def rootProject = multiProjectBuild("javaProject", subprojects) {
                buildFile << """
                    allprojects {
                        apply plugin: 'java-library'
    
                        tasks.withType(JavaCompile).configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top