Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bootRun (0.15 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/configuring-tasks-spring-boot/kotlin/build.gradle.kts

    import org.springframework.boot.gradle.tasks.run.BootRun
    
    // TODO:Finalize Upload Removal - Issue #21439
    // tag::accessors[]
    plugins {
        java
        id("org.springframework.boot") version "2.7.8"
    }
    
    // end::lazy[]
    // end::accessors[]
    
    // tag::accessors[]
    tasks.bootJar {
        archiveFileName = "app.jar"
        mainClass = "com.example.demo.Demo"
    }
    
    tasks.bootRun {
        mainClass = "com.example.demo.Demo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/configuring-tasks-spring-boot/groovy/build.gradle

        archiveFileName = 'app.jar'
        mainClass = 'com.example.demo.Demo'
    }
    
    tasks.bootRun {
        mainClass = 'com.example.demo.Demo'
        args '--spring.profiles.active=demo'
    }
    // end::accessors[]
    
    // tag::lazy[]
    tasks.named('bootJar') {
        archiveFileName = 'app.jar'
        mainClass = 'com.example.demo.Demo'
    }
    
    tasks.named('bootRun') {
        mainClass = 'com.example.demo.Demo'
        args '--spring.profiles.active=demo'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 664 bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SpringBootPluginSmokeTest.groovy

            then:
            buildResult.task(':assembleBootDist').outcome == SUCCESS
            buildResult.task(':check').outcome == SUCCESS
    
            when:
            smokeTestRunner = runner('bootRun')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/spring-boot-web-application/README.adoc

    ====
    include::sample[dir="kotlin",files="app/build.gradle.kts[]"]
    include::sample[dir="groovy",files="app/build.gradle[]"]
    ====
    
    To build and run the application:
    
    [listing.terminal]
    ----
    $ ./gradlew bootRun
    
    > Task :app:bootRun
    
      .   ____          _            __ _ _
     /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
    ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
     \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top