d6cc62e12c
Conflicts: libraries/tools/kotlin-gradle-plugin-core/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPlugin.kt
202 lines
7.6 KiB
XML
202 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<properties>
|
|
<maven.version>3.0.4</maven.version>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-project</artifactId>
|
|
<version>0.1-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>kotlin-gradle-plugin-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.android.tools.build</groupId>
|
|
<artifactId>gradle</artifactId>
|
|
<version>0.4.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-gradle-plugin-test</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>12.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.directory.studio</groupId>
|
|
<artifactId>org.apache.commons.io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>gradle-api</artifactId>
|
|
<version>1.6</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-compiler</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-jdk-annotations</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kdoc</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
|
|
<resources>
|
|
<resource>
|
|
<!-- jdkAnnotations -->
|
|
<directory>${kotlin-sdk}/lib</directory>
|
|
<includes><include>kotlin-jdk-annotations.jar</include></includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.build.outputDirectory}/../groovyOutput</directory>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<configuration>
|
|
<providerSelection>2.0</providerSelection>
|
|
<source/>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals> <goal>compile</goal></goals>
|
|
<configuration>
|
|
<sources>
|
|
<fileset>
|
|
<directory>${project.basedir}/src/main/kotlin</directory>
|
|
<includes>
|
|
<include>**/*.groovy</include>
|
|
</includes>
|
|
</fileset>
|
|
</sources>
|
|
<outputDirectory>${project.build.outputDirectory}/../groovyOutput</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>${project.version}</version>
|
|
<configuration>
|
|
<annotationPaths>
|
|
<annotationPath>${basedir}/kotlinAnnotation</annotationPath>
|
|
</annotationPaths>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals> <goal>compile</goal> </goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
|
<sourceDir>${project.build.outputDirectory}/../groovyOutput</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals> <goal>test-compile</goal> </goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Invoker plugin maintains local maven repository in local-repo for gradle integration tests -->
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<configuration>
|
|
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
|
|
<localRepositoryPath>local-repo</localRepositoryPath>
|
|
<postBuildHookScript>verify</postBuildHookScript> <!-- no extension required -->
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>create_local</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>install</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jetbrains-utils</id>
|
|
<url>http://repository.jetbrains.com/utils</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|