Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 179 for buildScript (0.26 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidGradleRecipesKotlinSmokeTest.groovy

            and:
            file('settings.gradle.kts') << '''
                include(":app")
                rootProject.name = "customBuildConfigField"
            '''
    
            file('build.gradle.kts') << """
                buildscript {
                    $repositoriesBlock
                    dependencies {
                        classpath("com.android.tools.build:gradle:$agpVersion")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

        }
    
        def "#desc can handle symlinks"() {
            def buildScript = file("build.gradle")
            def baseDir = file('build')
            baseDir.file('file').text = 'some contents'
            def symlinked = baseDir.file('symlinked')
            symlinked.text = 'target of symlink'
            baseDir.file('symlink').createLink(symlinked)
    
            buildScript << """
                def baseDir = new File("${escapeString(baseDir)}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy

    /**
     * A mutator that cleans up the artifact transform cache directory, but leaves folders with the instrumented jars.
     *
     * Since buildscript classpath instrumentation also uses artifact transforms, we can avoid
     * re-instrumenting jars by applying this mutator.
     *
     * In other words, this mutator can be applied to a scenario that tests performance of artifact transforms,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. integration-tests/gradle/build.gradle.kts

    val expectedCompileClasspathJreVersion =
      expectedReducedRuntimeClasspathJreVersion + setOf("j2objc-annotations-3.0.0.jar")
    
    val extraLegacyDependencies = setOf("google-collections-1.0.jar")
    
    buildscript {
      val agpVersion = if (gradle.gradleVersion.startsWith("5.")) "3.6.4" else "7.0.4"
      repositories {
        google()
        mavenCentral()
      }
      dependencies {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy

                connection.action(new LoadEclipseModel()).run()
            }
    
            then:
            collectProjects(model).collect({ it.name }).contains("a")
        }
    
        def "buildscript names are deduplicated"() {
            when:
            EclipseProject model = withConnection { connection ->
                connection.action(new LoadEclipseModel(eclipseWorkspace([externalProject("explicitName")]))).run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationWritingIntegTest.groovy

            assertMetadataExists()
            hasModules(["test-plugin:test-plugin.gradle.plugin", "com:myplugin"])
        }
    
        def "writes checksums of plugins using buildscript block"() {
            given:
            addPlugin()
            buildFile << """
              buildscript {
                 repositories {
                    maven { url "${pluginRepo.uri}" }
                 }
                 dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/AndroidGradlePluginVersions.groovy

                        $agpNightlyRepositoryDeclaration
                        gradlePluginPortal()
                    }
                }
                allprojects {
                    buildscript {
                        repositories {
                            $agpNightlyRepositoryDeclaration
                        }
                    }
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

    import kotlin.reflect.KClass
    import kotlin.reflect.KProperty
    
    
    /**
     * Configures the build script classpath for this project.
     */
    fun Project.buildscript(action: ScriptHandlerScope.() -> Unit): Unit =
        ScriptHandlerScopeInternal(project, buildscript).action()
    
    
    /**
     * Sets the default tasks of this project. These are used when no tasks names are provided when
     * starting the build.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/invocation/Gradle.java

         * <p>
         * An example of hooking into the projectsLoaded to configure buildscript classpath from the init script.
         * <pre class='autoTested'>
         * //init.gradle
         * gradle.projectsLoaded {
         *   rootProject.buildscript {
         *     repositories {
         *       //...
         *     }
         *     dependencies {
         *       //...
         *     }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt

            val shortScriptDisplayName = Describables.of("short display name")
            val longScriptDisplayName = Describables.of("long display name")
    
            val text = """
    
                buildscript {
                    require(Thread.currentThread().contextClassLoader === this@Settings_gradle.javaClass.classLoader)
                    println("stage 1")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top