Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 164 for subproject1 (0.18 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorsTest.kt

            withDefaultSettings().appendText(
                """
                    include("producer", "consumer")
                """
            )
            withKotlinDslPlugin().appendText(
                """
                    subprojects {
                        apply(plugin = "org.gradle.kotlin.kotlin-dsl")
                        $repositoriesBlock
                    }
                    project(":consumer") {
                        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

    3. You added a subproject and a separate Build in <<partr3_multi_project_builds#part3_begin, part3>>.
    4. You viewed a Settings file in <<partr4_settings_file.adoc#part4_begin,part 4>>.
    
    == Step 1. The `Project` object
    
    Build scripts invoke Gradle APIs to configure the build.
    
    During the configuration phase, Gradle finds the build script(s) in the root and subproject directories.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            "nope"   | _
            "y"      | _
            "n"      | _
        }
    
        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "can ask yes/no question when build is executed in parallel"() {
            given:
            withParallel()
    
            buildFile << """
                subprojects {
                    task "askYesNo"
                }
            """
            createDirs("a", "b", "c")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractJavaProjectTestFixturesIntegrationTest.groovy

                public class Leaking {
                }
            """
    
            expect:
            succeeds 'compileTestJava'
        }
    
        def "can consume test fixtures of subproject"() {
            settingsFile << """
                include 'sub'
            """
            file("sub/build.gradle") << """
                apply plugin: 'java-test-fixtures'
            """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_concepts.adoc

    ====
    
    If adding such a file to your jar files is something you do for all of the projects in your build, and you want to filter this file for all consumers, you may wrap the configurations described above in an `allprojects {}` or `subprojects {}` block in the root build script.
    
    The effect of this configuration would be that changes to `build-info.properties` would be ignored for both up-to-date checks and task output caching.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeatureCompilationIntegrationTest.groovy

            expect:
            succeeds("verifyConfigurations")
        }
    
        private void packagingTasks(boolean expectExecuted, String subproject, String feature = '') {
            def tasks = [":$subproject:process${feature.capitalize()}Resources", ":$subproject:${feature.isEmpty() ? 'classes' : feature + 'Classes'}", ":$subproject:${feature.isEmpty() ? 'jar' : feature + 'Jar'}"]
            if (expectExecuted) {
                executed(*tasks)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        }
    
        def multiProjectBuild(String projectName, List<String> subprojects, @DelegatesTo(value = BuildTestFile, strategy = Closure.DELEGATE_FIRST) Closure cl = {}) {
            multiProjectBuild(projectName, subprojects, CompiledLanguage.JAVA, cl)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            createDirs("child1", "child2")
            settingsFile << "include 'child1', 'child2'"
            buildFile << """
                defaultTasks 'a', 'b'
                task a
                subprojects {
                    task a(dependsOn: ':a')
                    task b(dependsOn: ':a')
                }
            """
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    == Step 1. Understanding the Version Catalog
    A version catalog is used to declare all direct dependencies of a project in a central location.
    
    It is created in by Gradle init in `gradle/libs.versions.toml` and referenced in subproject build files.
    
    .libs.versions.toml
    [source,text]
    ----
    [versions]
    guava = "32.1.2-jre"
    junit-jupiter = "5.10.0"
    
    [libraries]
    guava = { module = "com.google.guava:guava", version.ref = "guava" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/reference/gradle_wrapper.adoc

    [.multi-language-sample]
    =====
    [source,kotlin]
    ----
    .
    ├── a-subproject
    │   └── build.gradle.kts
    ├── settings.gradle.kts
    ├── gradle
    │   └── wrapper
    │       ├── gradle-wrapper.jar
    │       └── gradle-wrapper.properties
    ├── gradlew
    └── gradlew.bat
    ----
    =====
    [.multi-language-sample]
    =====
    [source,groovy]
    ----
    .
    ├── a-subproject
    │   └── build.gradle
    ├── settings.gradle
    ├── gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 16:15:50 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top