Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for accessors (0.18 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. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

    import java.util.stream.Stream;
    
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES;
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.OLD_ACCESSORS_OF_UPGRADED_PROPERTIES;
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES;
    
    public class UpgradePropertiesRuleSetup implements SetupRule {
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

                    return true;
                }
                ReplacedAccessor accessor = e.getValue();
                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
            if (!keptAccessors.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldAccessorsOfUpgradedProperties";
        public static final String SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES = "seenOldAccessorsOfUpgradedProperties";
        public static final String CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES = "currentAccessorsOfUpgradedProperties";
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                }
        }
    }
    
    
    private
    val scriptCacheDirNames =
        // TODO Remove gradle-kotlin-dsl* after a while
        listOf("scripts", "scripts-remapped", "gradle-kotlin-dsl", "gradle-kotlin-dsl-accessors", "kotlin-dsl")
    
    
    private
    fun scriptsCacheDirsUnder(cacheDir: File) =
        scriptCacheDirNames
            .map { File(cacheDir, it) }
            .filter { it.isDirectory }
    
    
    /**
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

    }
    
    tasks.withType<KotlinCompile>().configureEach {
        compilerOptions {
            allWarningsAsErrors = true
        }
    }
    
    ktlint {
        filter {
            exclude("gradle/kotlin/dsl/accessors/_*/**")
        }
    }
    
    tasks.runKtlintCheckOverKotlinScripts {
        // Only check the build files, not all *.kts files in the project
        includes += listOf("*.gradle.kts")
    }
    
    tasks.named("codeQuality") {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

    import me.champeau.gradle.japicmp.report.Violation
    import org.gradle.api.Incubating
    
    import javax.inject.Inject
    
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperty.AccessorKey
    
    @CompileStatic
    abstract class AbstractGradleViolationRule extends AbstractContextAwareViolationRule {
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top