Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 381 for scriptDsl (0.12 sec)

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

            and:
            commonJvmFilesGenerated(scriptDsl)
            dslFixtureFor(scriptDsl).assertHasTestSuite("test")
    
            when:
            run("build")
    
            then:
            assertTestPassed("my.lib.LibrarySuite", "someLibraryMethod is always true")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BasicTypeInitIntegrationTest.groovy

            then:
            noExceptionThrown()
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "can configure root project name with #scriptDsl build scripts"() {
            when:
            run('init', '--project-name', 'someApp', '--dsl', scriptDsl.id)
    
            then:
            def dslFixture = dslFixtureFor(scriptDsl)
            dslFixture.assertGradleFilesGenerated()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

        String subprojectName() { 'app' }
    
        @ToBeFixedForConfigurationCache(because = "swift-application plugin")
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'swift-application', '--dsl', scriptDsl.id)
    
            then:
            subprojectDir.file("src/main/swift").assertHasDescendants(SAMPLE_APPLICATION_CLASS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

            m2.generateUserSettingsFile(m2.mavenRepo())
            using m2
        }
    
        def "multiModule init with incubating"() {
            def dsl = dslFixtureFor(scriptDsl)
            def conventionPluginScript = targetDir.file("build-logic/src/main/${scriptDsl.name().toLowerCase()}/${scriptDsl.fileNameFor("buildlogic.java-conventions")}")
            def conventionPluginBuildFile = targetDir.file("build-logic/" + dsl.buildFileName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppApplicationInitIntegrationTest.groovy

        String subprojectName() { 'app' }
    
        @ToBeFixedForConfigurationCache(because = "cpp-application plugin")
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'cpp-application', '--dsl', scriptDsl.id)
    
            then:
            subprojectDir.file("src/main/cpp").assertHasDescendants(SAMPLE_APP_CLASS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppLibraryInitIntegrationTest.groovy

        String subprojectName() { 'lib' }
    
        @ToBeFixedForConfigurationCache(because = "cpp-library plugin")
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'cpp-library', '--dsl', scriptDsl.id)
    
            then:
            subprojectDir.file("src/main/cpp").assertHasDescendants(SAMPLE_LIB_CLASS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/AbstractInitIntegrationSpec.groovy

        }
    
        protected void commonFilesGenerated(BuildInitDsl scriptDsl, dslFixture = dslFixtureFor(scriptDsl)) {
            dslFixture.assertGradleFilesGenerated()
            targetDir.file(".gitignore").assertIsFile()
            targetDir.file(".gitattributes").assertIsFile()
            mavenCentralRepositoryDeclared(scriptDsl)
        }
    
        protected void commonJvmFilesGenerated(BuildInitDsl scriptDsl) {
            commonFilesGenerated(scriptDsl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 07:17:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

        }
    
        def "creates a simple project with #scriptDsl build scripts when no pom file present and no type specified"() {
            given:
            useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
            def dslFixture = ScriptDslFixture.of(scriptDsl, targetDir, null)
    
            when:
            runInitWith scriptDsl
    
            then:
            commonFilesGenerated(scriptDsl, dslFixture)
    
            and:
    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. build-logic/jvm/src/main/kotlin/gradlebuild.start-scripts.gradle.kts

    configurations {
        create("gradleScriptsElements") {
            isVisible = false
            isCanBeResolved = false
            isCanBeConsumed = true
            attributes.attribute(Usage.USAGE_ATTRIBUTE, objects.named("start-scripts"))
            outgoing.artifact(startScripts)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/README

    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Each script runs in a fresh temporary work directory tree, available to scripts as $WORK.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top