Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 397 for buildScript (0.25 sec)

  1. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractPropertyUpgradesBinaryCompatibilityCrossVersionSpec.groovy

                    void apply(Project project) {
                        $pluginApplyBody
                    }
                }
                """
    
            buildFile << """
                buildscript {
                    dependencies { classpath fileTree(dir: "producer/build/libs", include: '*.jar') }
                }
    
                apply plugin: SomePlugin
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptVisibilityIntegrationTest.groovy

            settingsFile << """
                buildscript { dependencies { classpath files(\"${plugin1Jar.name}\") } }
    
                getClass().classLoader.loadClass('${plugin1ClassName}')
                println "settings: plugin 1 visible"
            """
    
            file("buildSrc/settings.gradle") << """
                buildscript { dependencies { classpath files(\"../${plugin2Jar.name}\") } }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

        def "does not download gradleApi() sources when sources download is disabled"() {
            given:
            executer.withEnvironmentVars('GRADLE_REPO_OVERRIDE': "$server.uri/")
    
            buildScript """
                apply plugin: "java"
                apply plugin: "idea"
                apply plugin: "eclipse"
    
                dependencies {
                    implementation gradleApi()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

    class AbstractClassBackedManagedTypeIntegrationTest extends AbstractIntegrationSpec {
    
        def "rule can provide a managed model element backed by an abstract class"() {
            when:
            buildScript '''
                @Managed
                abstract class Person {
                    abstract String getName()
                    abstract void setName(String name)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

        }
    
        // TODO: remove in Gradle 9.0
        def "nag with deprecation warnings when using legacy TestReport APIs"() {
            given:
            buildScript """
                apply plugin: 'java'
                $junitSetup
                tasks.register('otherTests', Test) {
                    binaryResultsDirectory = file("bin")
                    classpath = files('blahClasspath')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluator.kt

        fun reduce(program: Program): ResidualProgram = when (program) {
    
            is Program.Empty -> reduceEmptyProgram()
    
            is Program.PluginManagement -> stage1WithPluginManagement(program)
    
            is Program.Buildscript -> reduceBuildscriptProgram(program)
    
            is Program.Plugins -> stage1WithPlugins(program)
    
            is Program.Stage1Sequence -> stage1WithPlugins(program)
    
            is Program.Script -> reduceScriptProgram(program)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinSettingsScriptIntegrationTest.kt

            )
        }
    
        @Test
        fun `given a script plugin with a buildscript block, it will be used to compute its classpath`() {
    
            withClassJar("fixture.jar", DeepThought::class.java)
    
            withFile(
                "other.settings.gradle.kts",
                """
                buildscript {
                    dependencies { classpath(files("fixture.jar")) }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/README.adoc

    This removes the need for the special `buildSrc` project and makes prototyping plugins even easier.
    
    == Buildscript dependencies are substituted
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            "newer"  | PLUGIN_NEWER_VERSION
        }
    
        def "uses #sequence version of plugin when added to buildscript classpath"() {
            when:
            fixture.runtimeVersion = version
            fixture.artifactVersion = version
            settingsFile.text = """
                buildscript {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleValidationIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ModelRuleValidationIntegrationTest extends AbstractIntegrationSpec {
    
        def "invalid model name produces error message"() {
            when:
            buildScript """
                class MyPlugin {
                    static class Rules extends RuleSource {
                        @Model(" ")
                        List<String> strings() {
                          []
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top