Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 190 for groovy (0.08 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            groovyImplicitImportPackages.add("groovy.lang.");
            groovyImplicitImportPackages.add("groovy.util.");
            groovyImplicitTypes.add("java.math.BigDecimal");
            groovyImplicitTypes.add("java.math.BigInteger");
    
            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 16 15:20:01 UTC 2025
    - 6.4K bytes
    - Viewed (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) {}"
    
            /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Jul 07 16:02:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. .github/workflows/check-commits.yml

              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
            id: run_check
            run: |
              groovy .github/workflows/CheckBadMerge.groovy pr_commits.txt > output.txt 2>&1
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:16:30 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (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() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. 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")
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 980 bytes
    - Viewed (0)
  8. 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 {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. 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) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. .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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top