blob: ecccbe2a3e2ce95f609e440e3b4e8edbcdbe5b99 [file] [log] [blame]
Yigit Boyar73473d52016-02-12 13:22:18 -08001<?xml version="1.0" encoding="UTF-8"?>
2<project
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5
6 <modelVersion>4.0.0</modelVersion>
7 <properties>
8 <maven-plugin-anno.version>1.4.1</maven-plugin-anno.version>
9 <maven.version>3.0.4</maven.version>
10 </properties>
11
12 <parent>
13 <groupId>org.jetbrains.kotlin</groupId>
14 <artifactId>kotlin-project</artifactId>
15 <version>1.0.0-rc-1036</version>
16 <relativePath>../../pom.xml</relativePath>
17 </parent>
18
19 <artifactId>kotlin-android-extensions</artifactId>
20 <packaging>jar</packaging>
21
22 <description>Android compiler plugin for Kotlin</description>
23
24 <build>
25 <plugins>
26 <plugin>
27 <artifactId>kotlin-maven-plugin</artifactId>
28 <groupId>org.jetbrains.kotlin</groupId>
29 <version>${project.version}</version>
30
31 <executions>
32 <execution>
33 <id>compile</id>
34 <phase>compile</phase>
35 <goals> <goal>compile</goal> </goals>
36 <configuration>
37 <sourceDirs>
38 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
39 </sourceDirs>
40 </configuration>
41 </execution>
42
43 <execution>
44 <id>test-compile</id>
45 <phase>test-compile</phase>
46 <goals> <goal>test-compile</goal> </goals>
47 </execution>
48 </executions>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-antrun-plugin</artifactId>
53 <version>1.7</version>
54 <executions>
55 <execution>
56 <id>prepare</id>
57 <phase>compile</phase>
58 <configuration>
59 <tasks>
60 <unzip src="${kotlin-sdk}/lib/android-compiler-plugin.jar" dest="target/classes/" />
61 </tasks>
62 </configuration>
63 <goals>
64 <goal>run</goal>
65 </goals>
66 </execution>
67 </executions>
68 </plugin>
69
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-jar-plugin</artifactId>
73 <version>2.6</version>
74 <executions>
75 <execution>
76 <id>empty-sources-jar</id>
77 <phase>package</phase>
78 <goals>
79 <goal>jar</goal>
80 </goals>
81 <configuration>
82 <skipIfEmpty>false</skipIfEmpty>
83 <classifier>sources</classifier>
84 <classesDirectory>${basedir}/sources</classesDirectory>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89
90 </plugins>
91 </build>
92
93 <repositories>
94 <repository>
95 <id>jetbrains-utils</id>
96 <url>http://repository.jetbrains.com/utils</url>
97 </repository>
98 </repositories>
99</project>