github.com/GoogleContainerTools/skaffold/v2@v2.13.2/examples/jib-sync/build.gradle (about)

     1  plugins {
     2      id 'java'
     3      id 'org.springframework.boot' version '2.0.5.RELEASE'
     4      id 'io.spring.dependency-management' version '1.0.7.RELEASE'
     5      id 'com.google.cloud.tools.jib' version '3.3.1'
     6  }
     7  
     8  repositories {
     9    mavenCentral()
    10  }
    11  
    12  sourceCompatibility = 1.8
    13  targetCompatibility = 1.8
    14  
    15  dependencies {
    16    implementation "org.springframework.boot:spring-boot-starter-web"
    17    implementation "org.springframework.boot:spring-boot-starter-actuator"
    18    if (project.hasProperty('sync')) {
    19      implementation "org.springframework.boot:spring-boot-devtools"
    20    }
    21  
    22    testImplementation "org.springframework.boot:spring-boot-starter-test"
    23  }
    24  
    25  jib.from.image = 'openjdk:17'