Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for accessors (0.45 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/accessors/accessors.kt

     * limitations under the License.
     */
    @file:Suppress("deprecation")
    package gradlebuild.basics.accessors
    
    import org.gradle.api.Project
    import org.gradle.api.file.SourceDirectorySet
    
    import org.gradle.kotlin.dsl.*
    import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
    
    
    // TODO these accessors should be generated - https://github.com/gradle/gradle/issues/3191
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

            if (descriptor !is VariableDescriptorWithAccessors) return
    
            descriptor.accessors.forEach { accessor ->
                collector.checkResolveCall(bindingContext.get(BindingContext.DELEGATED_PROPERTY_RESOLVED_CALL, accessor))
            }
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                "replacedAccessors": [{
                                    "binaryCompatibility": "ACCESSORS_REMOVED",
                                    "descriptor": "()Ljava/lang/String;",
                                    "name": "getSourceCompatibility"
                                }, {
                                    "binaryCompatibility": "ACCESSORS_REMOVED",
                                    "descriptor": "(Ljava/lang/String;)V",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    configureIde(TestType.CROSSVERSION)
    configureTestFixturesForCrossVersionTests()
    
    fun configureTestFixturesForCrossVersionTests() {
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
                "crossVersionTestImplementation"(testFixtures(project(":tooling-api")))
            }
        }
    }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionsCollector.kt

            if (descriptor is DeserializedSimpleFunctionDescriptor) return
    
            analyzeNextIfInline(descriptor)
    
            if (descriptor is PropertyDescriptor) {
                for (accessor in descriptor.accessors) {
                    analyzeNextIfInline(accessor)
                }
            }
        }
    
        private fun analyzeNextIfInline(descriptor: CallableDescriptor) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

    testFixturesRuntimeElements.extendsFrom(testFixturesRuntimeOnly)
    
    // do not attempt to find projects when the plugin is applied just to generate accessors
    if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
        dependencies {
            testFixturesApi(project(":internal-testing"))
            // platform
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

            }
        }
    }
    
    tasks.codeQuality.configure {
        dependsOn(testing.suites.named("archTest"))
    }
    
    fun notForAccessorGeneration(runnable: Runnable) {
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test") {
            runnable.run()
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/base/KtFe10PsiSymbolUtils.kt

        val className = mutableListOf<String>()
    
        while (current != null) {
            when (current) {
                is KtPropertyAccessor -> {
                    // Filter out property accessors
                }
                is KtCallableDeclaration, is KtEnumEntry -> {
                    if (!allowLocal) {
                        return null
                    }
                    localName += current.name ?: return null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:55 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            resolver("${prefix}TestAgentsClasspath", LibraryElements.JAR)
        }
    
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
                "${prefix}TestRuntimeOnly"(project.the<ExternalModulesExtension>().junit5Vintage)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. settings.gradle.kts

    if ((androidHome != null || sdkDir != null) && !isKnownBrokenIntelliJ()) {
      include(":okhttp-android")
      include(":android-test")
      include(":android-test-app")
    }
    
    enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
    
    /**
     * Avoid a crash in IntelliJ triggered by Android submodules.
     *
     * ```
     * java.lang.AssertionError: Can't find built-in class kotlin.Cloneable
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top