Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for something (0.97 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmDefaultIntegrationTest.kt

                class SomeOverriddenPrecompiledScript : Some {
                    override fun something() {
                        println("precompiled overridden")
                    }
                }
    
                SomePrecompiledScript().something()
                SomeOverriddenPrecompiledScript().something()
                """
            )
            withBuildScript(
                """
                import some.Some
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                        ++replacementsCount
                        // Use shell's string concatenation: '...'"..." glues contents of quoted and double-quoted strings together.
                        // The result would be something like DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'" \"-javaagent:$APP_HOME/lib/agents/foobar.jar\""
                        line + getAgentOptions("\$APP_HOME").joinToString(separator = " ", prefix = "\" ", postfix = "\"") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 24 10:25:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/K2IntegrationTest.kt

                import org.gradle.api.DefaultTask
                import org.gradle.api.tasks.TaskAction
    
                abstract class MyTask : DefaultTask() {
                    @TaskAction fun action() { println("Doing something") }
                }
            """)
            withFile("build-logic/src/main/kotlin/MyPlugin.kt", """
                import org.gradle.api.Project
                import org.gradle.api.Plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 06:52:58 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPluginTest.kt

            assertThat(
                scriptPlugin(
                    "my-script.gradle.kts",
                    """
    
                        // she-bangs! ///////_*&@ because why not! _-|
    
                        #!/something/something
    
    
                        /* first file annotation */
                        @file:Suppress("UnstableApiUsage")
    
                        // second file annotation //second comment, just for fun
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/CustomLambdasTest.kt

            fn.configure(inner)
        }
    }
    
    
    interface Functional {
        fun configure(inner: Inner)
    }
    
    
    interface GenericFunctional<T> {
        fun configure(something: T)
    }
    
    
    class Inner {
        @get:Restricted
        var x = 0
    
        @Adding
        fun f() {
            ++x
        }
    }
    
    
    private
    val functionalLambdaHandler =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt

                }
                currentScopes.last().declareLocal(localValue, rhs, errorCollector)
            }
        }
    
        // If we can trace the function invocation back to something that is not transient, we consider it not dangling
        private
        fun isDanglingPureCall(obj: ObjectOrigin.FunctionOrigin): Boolean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

                maxParallelForks = 1
                useJUnitPlatform()
                // We need 5G of heap to parse large JFR recordings when generating flamegraphs.
                // If we drop JFR as profiler and switch to something else, we can reduce the memory.
                jvmArgs("-Xmx5g", "-XX:+HeapDumpOnOutOfMemoryError")
                if (project.performanceTestVerbose.isPresent) {
                    testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        "CommonProgramFiles(x86)",
        "CommonProgramW6432",
        "ProgramData",
        "ProgramFiles",
        "ProgramFiles(x86)",
        // Simply putting PATH there isn't enough. Windows has case-insensitive env vars but something else fails if the Path variable is published as PATH for test tasks.
        OperatingSystem.current().pathVar,
        "PATHEXT",
    )
    
    
    val credentialsKeywords = listOf(
        "api_key",
        "access_key",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 18 01:52:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt

            assertSucceeds()
        }
    
        @Test
        fun `installs into previous distribution`() {
            assertSucceeds()
            assertSucceeds()
        }
    
        @Test
        fun `installs into something that looks like previous distribution`() {
            target.resolve("bin").apply {
                mkdir()
                File(this, "gradle").writeText("stub")
                File(this, "gradle.exe").writeText("stub")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

                }
                """
            )
    
            withDefaultSettings().appendText(
                """
                sourceControl {
                    vcsMappings {
                        withModule("some:thing") {
                            from(GitVersionControlSpec::class) {
                                url = uri("")
                            }
                        }
                    }
                }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:53:16 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top