/*
 * Copyright (c) 2019 Red Hat, Inc.
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at:
 *
 *     https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
plugins {
    id 'org.springframework.boot' version '2.7.11'
    id 'io.spring.dependency-management' version '1.0.11.RELEASE'
    id 'org.eclipse.jkube.kubernetes' version '1.18.1'
    id 'java'
}

group = 'org.eclipse.jkube.gradle.sample.spring.boot'
version = '1.18.0'
sourceCompatibility = '11'

repositories {
    mavenCentral()
    mavenLocal()
}

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-web'
}
kubernetes {
    images {
        image {
            name = 'jkube/docker-file-provided'
            build {
                contextDir = file('src/main/docker-context-dir')
                dockerFile = 'other/file/DockerfileWithChangedFileName'
            }
        }
    }
}
