<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>io.camunda.connector</groupId>
        <artifactId>connector-google-parent</artifactId>
        <version>8.8.3</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <name>connector-google-gemini</name>
    <description>Camunda Google Gemini Connector</description>
    <artifactId>connector-google-gemini</artifactId>
    <packaging>jar</packaging>

    <licenses>
        <license>
            <name>Camunda Self-Managed Free Edition license</name>
            <url>https://camunda.com/legal/terms/cloud-terms-and-conditions/camunda-cloud-self-managed-free-edition-terms/</url>
        </license>
        <license>
            <name>Camunda Self-Managed Enterprise Edition license</name>
        </license>
    </licenses>

    <properties>
        <license.inlineheader>Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
under one or more contributor license agreements. Licensed under a proprietary license.
See the License.txt file for more information. You may not use this file
except in compliance with the proprietary license.</license.inlineheader>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.camunda.connector</groupId>
            <artifactId>connector-google-base</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-vertexai</artifactId>
            <version>1.38.0</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>io.camunda.connector</groupId>
                <artifactId>element-template-generator-maven-plugin</artifactId>
                <version>${project.version}</version>
                <configuration>
                    <connectors>
                        <connector>
                            <connectorClass>io.camunda.connector.gemini.GeminiConnectorFunction</connectorClass>
                            <files>
                                <file>
                                    <templateId>io.camunda.connectors.GoogleGemini.v1</templateId>
                                    <templateFileName>google-gemini-outbound-connector.json</templateFileName>
                                </file>
                            </files>
                            <generateHybridTemplates>true</generateHybridTemplates>
                        </connector>
                    </connectors>
          <versionHistoryEnabled>true</versionHistoryEnabled>
                    <includeDependencies>
                        <includeDependency>io.camunda.connector:connector-google-base</includeDependency>
                    </includeDependencies>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>