Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for subprojectName (0.18 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyGradlePluginInitIntegrationTest.groovy

    // FIXME if Groovy 4 is bundled, cannot run without regenerating library-versions.properties
    class GroovyGradlePluginInitIntegrationTest extends AbstractInitIntegrationSpec {
    
        @Override
        String subprojectName() { 'plugin' }
    
        def "defaults to Groovy build scripts"() {
            when:
            run('init', '--type', 'groovy-gradle-plugin')
    
            then:
            dslFixtureFor(GROOVY).assertGradleFilesGenerated()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 02 19:50:23 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_CLASS = "org/example/App.scala"
        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppSuite.scala"
    
        @Override
        String subprojectName() { 'app' }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_CLASS = "org/example/App.groovy"
        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppTest.groovy"
    
        @Override
        String subprojectName() { 'app' }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_CLASS = "org/example/App.kt"
        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppTest.kt"
    
        @Override
        String subprojectName() { 'app' }
    
        def "defaults to kotlin build scripts"() {
            when:
            run ('init', '--type', 'kotlin-application')
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            return model.projectId + "_" + if (subProject.isNotEmpty()) shortenedSubprojectName else "${prefix}0"
        }
    
        private
        fun shortenSubprojectName(prefix: String, subProjectName: String): String {
            val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T")
            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionDynamicPomIntegrationTest.groovy

     */
    abstract class MavenConversionDynamicPomIntegrationTest extends AbstractInitIntegrationSpec {
    
        @Override
        String subprojectName() { null }
    
        abstract BuildInitDsl getScriptDsl()
    
        def setup() {
            /**
             * We need to configure the local maven repository explicitly as
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppTest.java"
        public static final String SAMPLE_APP_SPOCK_TEST_CLASS = "org/example/AppTest.groovy"
    
        @Override
        String subprojectName() { 'app' }
    
        def "defaults to Kotlin build scripts"() {
            when:
            run ('init', '--type', 'java-application')
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

    import static org.hamcrest.CoreMatchers.containsString
    import static org.hamcrest.CoreMatchers.not
    
    class BuildInitPluginIntegrationTest extends AbstractInitIntegrationSpec {
    
        @Override
        String subprojectName() { 'app' }
    
        def "init shows up on tasks overview "() {
            given:
            targetDir.file("settings.gradle").touch()
    
            when:
            run 'tasks'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

            "Select implementation language:",
            "1: Java",
            "2: Kotlin",
            "3: Groovy",
            "4: Scala",
            "5: C++",
            "6: Swift"
        ]
    
        @Override
        String subprojectName() { 'app' }
    
        def "prompts user when run from an interactive session"() {
            when:
            def handle = startInteractiveExecutorWithTasks("init")
    
            // Select 'basic'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

        @Rule
        public final SetSystemProperties systemProperties = new SetSystemProperties()
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        @Override
        String subprojectName() { null }
    
        abstract BuildInitDsl getScriptDsl()
    
        def setup() {
            /**
             * We need to configure the local maven repository explicitly as
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top