Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 152 for groovy (0.05 seconds)

  1. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

        id("gradlebuild.jvm-compile")
    }
    
    jvmCompile {
        addCompilationFrom(sourceSets.docsTest)
    }
    
    val singleProjectSampleLanguages = listOf(JAVA, GROOVY, SCALA, KOTLIN, SWIFT, CPP)
    val multiProjectApplicationSampleLanguages = listOf(JAVA, GROOVY, SCALA, KOTLIN)
    
    singleProjectSampleLanguages.forEach { language ->
        setupGeneratorTask(language, "library", ModularizationOption.SINGLE_PROJECT)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 13:46:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

        companion object {
            private
            const val RESOURCE = "/default-imports.txt"
    
            private
            const val PLUGINS_BLOCK_SIGNATURE =
                "void plugins(@groovy.transform.stc.ClosureParams(value = groovy.transform.stc.SimpleType.class, options = 'org.gradle.plugin.use.PluginDependenciesSpec') Closure configuration) {}"
    
            /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        the<SourceSetContainer>().all {
            tasks.register<Checkstyle>(getTaskName("checkstyle", "groovy")) {
                config = configFile("checkstyle-groovy.xml")
                source(allGroovy)
                classpath = compileClasspath
                reports.xml.outputLocation = checkstyle.reportsDir.resolve("${******@****.***}-groovy.xml")
            }
        }
    }
    
    codenarc {
        config = configFile("codenarc.xml")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    This is preferred:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    ```
    
    This is acceptable:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    abstract class DefaultNewThing implements NewThing {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  5. build-logic-commons/build-platform/build.gradle.kts

    // It can be removed or changed to 4/5 logic (if necessary) at that point.
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    val spockVersion = if (isGroovy4) "2.3-groovy-4.0" else "2.3-groovy-3.0"
    val groovyGroup = if (isGroovy4) "org.apache.groovy" else "org.codehaus.groovy"
    val asmVersion = "9.9"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:16:30 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt

     *
     * For example, we have two classes ABC.java and XYZ.groovy that include `class='autoTested'`,
     * there will be two files generated: `ABCAutoTestedSamplesTest.groovy` and `XYZAutoTestedSamplesTest.groovy`
     */
    @CacheableTask
    abstract class GenerateAutoTestedSamplesTestTask @Inject constructor(@Internal val fileOperations: FileOperations) : DefaultTask() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                .toList();
    
            if (pair.size() == 2 &&
                pair.get(0).lang == Language.GROOVY &&
                pair.get(1).lang == Language.KOTLIN) {
                addError(errors, file, new Error(pair.get(0).line,
                    "Reversed order: found Groovy first then Kotlin. Expected Kotlin first then Groovy."));
            }
        }
    
        private static String parseSourceLang(String lineTrimmed) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. build-logic-commons/code-quality-rules/build.gradle.kts

    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
        compileOnly(localGroovy())
        compileOnly("org.codenarc:CodeNarc") {
            exclude(group = "org.apache.groovy")
            exclude(group = "org.codehaus.groovy")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 17 10:11:26 GMT 2024
    - 980 bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/Gradleception.kt

            val labels = mutableListOf<String>()
            val descriptionParts = mutableListOf<String>()
            if (bundleGroovyMajor != null) {
                labels += "Groovy $bundleGroovyMajor.x"
                idParts += "Groovy$bundleGroovyMajor"
                descriptionParts += "bundling Groovy $bundleGroovyMajor"
            }
            val vendor = buildJvm.vendor.displayName
            val version = buildJvm.version.major
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

     *
     * Configures the Project as a test fixtures consumer according to the `testFixtures` extension configuration.
     */
    plugins {
        `java-test-fixtures`
        groovy
        id("gradlebuild.dependency-modules")
        id("gradlebuild.jvm-compile")
    }
    
    jvmCompile {
        addCompilationFrom(sourceSets.named("testFixtures")) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top