Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for invoke (0.17 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
                    operator fun Boolean.invoke(some: Int) {}
    
                    fun String.invoke(some: Int) {}
                    operator fun Long.invoke(some: Int) {}
    
                    fun Float.invoke(some: Int) {}
                    infix fun Byte.invoke(some: Int) {}
    
                    interface Source {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                        fun foo(bar: String) {}
                    }
                    operator fun Source.invoke(arg: String) {}
                """,
                v2 = """
                    class Source(some: String?) {
                        fun foo(bar: String?) {}
                    }
                    operator fun Source.invoke(arg: String?) {}
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

            cachesCleaner.get().cleanUpCaches()
    
            if (tracker.isPresent) {
                val daemonTrackerService = tracker.get()
                val testListener = daemonTrackerService.javaClass.getMethod("newDaemonListener").invoke(daemonTrackerService) as TestListener
                addTestListener(testListener)
            }
            super.executeTests()
        }
    }
    
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        abstract val gitCommitId: Property<String>
        abstract val gitBranch: Property<String>
        abstract val repoRoot: DirectoryProperty
    }
    
    
    // `generatePrecompiledScriptPluginAccessors` task invokes this method without `gradle.build-environment` applied
    fun Project.getBuildEnvironmentExtension(): BuildEnvironmentExtension? = rootProject.extensions.findByType(BuildEnvironmentExtension::class.java)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  5. README.md

    * Have a look at the [Samples](https://docs.gradle.org/current/samples/index.html)
    * Checkout the [Community Resources](https://gradle.org/resources/) as well
    * Join our [Slack Channel](https://gradle.com/slack-invite)
    
    
    ## Contributing
    
    If you're looking to contribute to Gradle or provide a patch/pull request, you can find more info [here](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 24 20:49:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top