Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for applyDevelocityPlugin (0.26 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/internal/scan/config/fixtures/ApplyDevelocityPluginFixtureTest.groovy

            given:
            File file = File.createTempFile("test_script", ".tmp")
            file.write("includeBuild '../lib'")
            file.deleteOnExit()
    
            when:
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(file)
    
    
            then:
            file.text =="""plugins {
                |    id("com.gradle.develocity") version("${VERSION}")
                |}
                |
                |includeBuild '../lib'""".stripMargin()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractCrossVersionPerformanceTest.groovy

            performanceTestIdProvider.testSpec = runner
        }
    
        CrossVersionPerformanceTestRunner getRunner() {
            runner
        }
    
        void applyDevelocityPlugin() {
            runner.addBuildMutator { invocationSettings ->
                new ApplyDevelocityPluginMutator(invocationSettings.projectDir)
            }
        }
    
        static {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy

            runner.warmUpRuns = warmUpRuns
            runner.runs = runs
            if (IncrementalAndroidTestProject.NOW_IN_ANDROID == testProject) {
                configureRunnerSpecificallyForNowInAndroid()
            }
            applyDevelocityPlugin()
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/internal/scan/config/fixtures/ApplyDevelocityPluginFixture.groovy

        private static final String APPLY_DEVELOCITY_PLUGIN = """plugins {
            |    id("${AutoAppliedDevelocityPlugin.ID}") version("${VERSION}")
            |}""".stripMargin()
    
        static void applyDevelocityPlugin(File settingsFile) {
            def settingsText = settingsFile.text
            def matcher = settingsText =~ /id[ (]["']com.gradle.develocity["'][)]? version[ (]["'](.*)["'][)]?/
            if (matcher.find()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidIncrementalExecutionPerformanceTest.groovy

            runner.args.add("-D${StartParameterBuildOptions.ConfigurationCacheProblemsOption.DEPRECATED_PROPERTY_NAME}=warn")
            runner.warmUpRuns = 20
            applyDevelocityPlugin()
        }
    
        def "abi change#configurationCaching"() {
            given:
            if (configurationCachingEnabled && IncrementalAndroidTestProject.SANTA_TRACKER == testProject) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractAndroidSantaTrackerSmokeTest.groovy

        }
    
        protected void setupCopyOfSantaTracker(TestFile targetDir) {
            copyRemoteProject("santaTracker", targetDir)
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(targetDir.file("settings.gradle"))
        }
    
        protected SmokeTestGradleRunner.SmokeTestBuildResult buildLocation(File projectDir, String agpVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            where:
            order << ['lib', 'util'].permutations()
        }
    
        private static withDevelocityPlugin(TestFile settingsDir) {
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(
                settingsDir.file('settings.gradle')
            )
        }
    
        private TestFile withLibBuild() {
            createDir('lib') {
                file('settings.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top