Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 187 for Lyding (0.14 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/demoTypes.kt

    package com.example
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Builder
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class Abc {
        @get:Restricted
        var a: Int = 0
    
        @Restricted
        fun b(): Int = 1
    
        @get:Restricted
        var str: String = ""
    
        @Adding
        fun c(x: Int, configure: C.() -> Unit = { }) =
            C().apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 949 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/java/modules-multi-project/README.adoc

    In test execution, the modules are then treated as standard Java libraries with the encapsulation deactivated.
    
    Blackbox (e.g. integration) tests, which should also follow the encapsulation rules during test execution, can be written by turning the corresponding test sources set itself into a module by adding a `module-info.java`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/buildlifecycle/projectEvaluateEvents/groovy/build.gradle

        project.ext.set("hasTests", false)
    }
    
    gradle.afterProject { project ->
        if (project.ext.has("hasTests") && project.ext.get("hasTests") as Boolean) {
            def projectString = project.toString()
            println "Adding test task to $projectString"
            project.task('test') {
                doLast {
                    println "Running tests for $projectString"
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 483 bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigurationIntegrationTest.groovy

            buildFile << '''
                allprojects { p ->
                    println "[1] Adding afterEvaluate for $p.name"
                    p.afterEvaluate {
                        println "[1] afterEvaluate $p.name"
                    }
                }
    
                project(':a') {
                    println "[2] Adding evaluationDependsOn"
                    evaluationDependsOn(':b')
                }
    
                allprojects { p ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. .editorconfig

    # EditorConfig helps developers define and maintain consistent
    # coding styles between different editors and IDEs
    # editorconfig.org
    
    root = true
    
    [*]
    # Change these settings to your own preference
    indent_style = space
    indent_size = 4
    
    # We recommend you to keep these unchanged
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Markdown files sometimes need trailing whitespaces.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 11:48:19 UTC 2023
    - 643 bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Restricted
    import org.gradle.internal.declarativedsl.demo.resolve
    import org.gradle.internal.declarativedsl.language.Assignment
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/test-suite-configure-suite-dependencies/groovy/build.gradle

    repositories {
        mavenCentral()
    }
    
    // tag::configure-suite-dependencies[]
    testing {
        suites {
            test { // <1>
                dependencies {
                    // Note that this is equivalent to adding dependencies to testImplementation in the top-level dependencies block
                    implementation 'org.assertj:assertj-core:3.21.0' // <2>
                    annotationProcessor 'com.google.auto.value:auto-value:1.9' // <3>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

        @get:Restricted
        abstract var superClassProp: SuperClass
    
        @get:Restricted
        abstract var superInterfaceProp: SuperInterface
    
        @Adding
        abstract fun addSuperClass(superclass: SuperClass)
    
        @Adding
        abstract fun addSuperInterface(superclass: SuperInterface)
    
        @Restricted
        abstract fun sub(): Subtype
    
        @Restricted
        abstract fun notASub(): NotASubtype
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
        }
        return append(value).append("\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/jvm/java-platform/src/test/java/org/gradle/api/plugins/JavaPlatformPluginTest.groovy

            apiVariant.attributes.getAttribute(Category.CATEGORY_ATTRIBUTE).name == Category.REGULAR_PLATFORM
        }
    
        @Unroll("cannot add a dependency to the #configuration configuration by default")
        def "adding a dependency is not allowed by default"() {
            given:
            project.pluginManager.apply(JavaPlatformPlugin)
            project.dependencies.add(JavaPlatformPlugin.API_CONFIGURATION_NAME, "org:api1:1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top