Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 128 for buildScript (0.19 sec)

  1. 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)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/plugins/TestSuiteModelIntegrationSpec.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class TestSuiteModelIntegrationSpec extends AbstractIntegrationSpec {
    
        def "setup"() {
            buildScript """
                apply type: NativeBinariesTestPlugin
    
                interface CustomTestSuite extends TestSuiteSpec {}
                class DefaultCustomTestSuite extends BaseComponentSpec implements CustomTestSuite {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy

            libB.artifact.expectGet()
    
            then:
            succeeds ':checkDeps'
        }
    
        @Issue("https://github.com/gradle/gradle/issues/24426")
        def "can use version catalogs in buildscript block of applied script"() {
    
            given:
            def lib = mavenHttpRepo.module('org.gradle.test', 'lib', '1.1').publish()
            settingsKotlinFile << """
                dependencyResolutionManagement {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. 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)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/more_about_tasks.adoc

    ------------------------------------------------------------
    Tasks runnable from project ':app'
    ------------------------------------------------------------
    
    Help tasks
    ----------
    buildEnvironment - Displays all buildscript dependencies declared in project ':app'.
    dependencies - Displays all dependencies declared in project ':app'.
    dependencyInsight - Displays the insight into a specific dependency in project ':app'.
    help - Displays a help message.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            """
            file("included/build.gradle") << """plugins { id("java-gradle-plugin") }"""
            file("included/settings.gradle") << "rootProject.name = 'included'"
            buildFile.text = """
                buildscript {
                    dependencies {
                        classpath(files("./included/build/libs/included.jar"))
                    }
                }
                apply plugin: MyPlugin
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptDependenciesResolver.kt

                                }
                            updateWith("pluginManagement")
                            updateWith("initscript")
                            updateWith("buildscript")
                            updateWith("plugins")
                        }
                        digest()
                    }
            }
        }
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

            run('reportProblem')
    
            then:
            receivedProblem.additionalData.asMap == ['key': 'value']
        }
    
        def "cannot emit a problem with invalid additional data"() {
            given:
            buildScript 'class InvalidData implements org.gradle.api.problems.internal.AdditionalData {}'
            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
                    it.id('type', 'label')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginIntegrationTest.kt

                plugins {
                    id("my-plugin")
                }
            """)
    
            withBuildScript("""
                buildscript {
                    dependencies {
                        classpath(files("${normaliseFileSeparators(pluginJarV2.absolutePath)}"))
                    }
                }
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top