Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 385 for allprojects (0.37 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaDependencySubstitutionIntegrationTest.groovy

        @Test
        @ToBeFixedForConfigurationCache
        void "external dependency substituted with project dependency"() {
            createDirs("project1", "project2")
            runTask("idea", "include 'project1', 'project2'", """
    allprojects {
        apply plugin: "java"
        apply plugin: "idea"
    }
    
    project(":project2") {
        dependencies {
            implementation group: "junit", name: "junit", version: "4.7"
        }
    
        configurations.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/build.gradle

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    allprojects {
        apply plugin: 'eclipse'
    
        group = 'org.gradle'
    
        plugins.withType(JavaBasePlugin) {
            java.sourceCompatibility = 1.5
        }
    }
    
    subprojects {
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

                gradle.lifecycle.afterProject { println("lifecycle: gradle.lifecycle.afterProject '\${it.path}'") }
    
                // register eager callbacks
                gradle.allprojects { println("lifecycle: gradle.allprojects '\${it.path}'") }
                gradle.beforeProject { println("lifecycle: gradle.beforeProject '\${it.path}'") }
                gradle.afterProject { println("lifecycle: gradle.afterProject '\${it.path}'") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginDslSupport.groovy

            withPlugins([:], aliases.collectEntries { [it, null] })
        }
    
        void withPluginsBlockContents(String block) {
            def text = buildFile.text
            int idx = text.indexOf('allprojects')
            text = """${text.substring(0, idx)}
                plugins {
                    $block
                }
    
    ${text.substring(idx)}
            """
            buildFile.text = text
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

    rootProject.name = 'test'
    include 'a', 'b'
    """
            buildFile << """
    def usage = Attribute.of('usage', String)
    def flavor = Attribute.of('flavor', String)
    def buildType = Attribute.of('buildType', String)
    
    allprojects {
        dependencies {
           attributesSchema {
              attribute(usage)
              attribute(flavor)
              attribute(buildType)
           }
        }
        configurations {
            compile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy

            given:
            settingsFile << """
                include('a')
                include('b')
            """
            withSomeToolingModelBuilderPluginInBuildSrc()
            buildFile << """
                allprojects {
                    plugins.apply('java-library')
                }
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModelFails()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaPluginIntegrationTest.groovy

        def "can build in parallel with lazy tasks"() {
            createDirs("a", "b", "c", "d")
            settingsFile << """
                include 'a', 'b', 'c', 'd'
            """
            buildFile << """
                allprojects {
                    tasks.withType(AbstractScalaCompile) {
                        options.fork = true
                    }
                    ${mavenCentralRepository()}
                    plugins.withId("scala") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IsolatedProjectsSafeIdeaModelBuilder.java

            IdeaProjectInternal ideaProjectExt = (IdeaProjectInternal) ideaModelExt.getProject();
    
            List<Project> allProjects = new ArrayList<>(rootProject.getAllprojects());
            List<IsolatedIdeaModuleInternal> allIsolatedIdeaModules = getIsolatedIdeaModules(rootProject, allProjects, parameter);
    
            IdeaLanguageLevel languageLevel = resolveRootLanguageLevel(ideaProjectExt, allIsolatedIdeaModules);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:17:44 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityBuildLifecycleService.java

            this.features = features;
        }
    
        @Override
        public void beforeProject(Action<? super Project> action) {
            // Preserve behavior when Isolated Projects is not enabled:
            // - `allprojects` executes eagerly before any project has been evaluated, allowing its effects
            //   to be observable from other eager configuration blocks (e.g., `subprojects { ... }`).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 21:44:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r15/ToolingApiConfigurationOnDemandCrossVersionSpec.groovy

            given:
            file("settings.gradle") << "include 'api', 'impl', 'other'"
            file("build.gradle") << """
                rootProject.description = 'Projects configured: '
                allprojects { afterEvaluate {
                    rootProject.description += project.path + ", "
                }}
            """
    
            when:
            def op = withModel(GradleProject.class)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top