/*
 * 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 'org.eclipse.jkube.openshift' version '1.18.1'
    id 'java'
}

group = 'org.eclipse.jkube.quickstarts.gradle'
version = '1.18.0'
sourceCompatibility = '11'

repositories {
    mavenCentral()
    mavenLocal()
}

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-web'
    implementation 'org.apache.camel.springboot:camel-spring-boot-starter-generator:3.11.1'
    implementation 'org.apache.camel.springboot:camel-servlet-starter:3.11.1'
    implementation 'org.apache.camel.springboot:camel-jackson-starter:3.11.1'
    implementation 'org.apache.camel.springboot:camel-spring-boot-starter-generator:3.11.1'
    implementation 'org.apache.camel.springboot:camel-timer-starter:3.11.1'
    implementation 'org.apache.camel.springboot:camel-file-starter:3.11.1'
    implementation 'org.apache.camel.springboot:camel-rest-starter:3.11.1'
    implementation 'org.apache.camel:camel-bean:3.11.1'
    implementation 'org.apache.camel:camel-direct:3.11.1'
    implementation 'javax.activation:javax.activation-api:1.2.0'
    implementation 'javax.xml.bind:jaxb-api:2.3.1'
    implementation 'com.sun.xml.bind:jaxb-core:3.0.2'
    implementation 'com.sun.xml.bind:jaxb-impl:3.0.2'
}

kubernetes {
    enricher {
        config {
            'jkube-service' {
                type = 'NodePort'
            }
        }
    }
}
