Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for versionCatalogFile (0.95 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/VersionCatalogGeneratorTest.groovy

        def "generates empty gradle/libs.versions.toml file for empty registry"() {
            when:
            versionCatalogGenerator.generate(buildContentGenerationContext, true)
    
            then:
            versionCatalogFile.file
            versionCatalogFile.text == toPlatformLineSeparators(COMMON_START)
        }
    
        def "generates version and library based on module"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogPluginApplicationIntegrationTest.groovy

            pluginBuilder.publishAs("org.example.plugin:plugin:1.0.0", mavenRepo, executer)
        }
    
        def "can apply a plugin by id and version using version catalog"() {
            given:
            versionCatalogFile """
            [plugins]
            orgExample = "org.example.plugin:1.0.0"
            """
            settingsFile """
                pluginManagement {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

                include "subproject"
    
                rootProject.name = "${PROJECT_NAME}"
                gradle.rootProject {
                    version = "${PROJECT_VERSION}"
                }
            """)
            versionCatalogFile("""
                [libraries]
                org-example-foo = "${FOO_GROUP}:${FOO_NAME}:${FOO_VERSION}"
                com-example-baz = "${BAZ_GROUP}:${BAZ_NAME}:${BAZ_VERSION}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            targetBuildFile << code
        }
    
        static String groovyScript(@GroovyBuildScriptLanguage String script) {
            script
        }
    
        void versionCatalogFile(@Language("toml") String script) {
            versionCatalogFile << script
        }
    
        TestFile getBuildKotlinFile() {
            testDirectory.file(defaultBuildKotlinFileName)
        }
    
        protected String getDefaultBuildFileName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top