All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bmuschko.gradle.docker.DockerSpringBootApplication.groovy Maven / Gradle / Ivy

There is a newer version: 6.7.0
Show newest version
package com.bmuschko.gradle.docker

import groovy.transform.CompileStatic
import org.gradle.api.Project
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.Property

/**
 * @since 3.4.5
 */
@CompileStatic
class DockerSpringBootApplication {
    final Property baseImage
    final ListProperty ports
    final Property tag

    DockerSpringBootApplication(Project project) {
        baseImage = project.objects.property(String)
        baseImage.set('openjdk:jre-alpine')
        ports = project.objects.listProperty(Integer)
        ports.set([8080])
        tag = project.objects.property(String)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy