1 <?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 7 <modelVersion>4.0.0</modelVersion> 8 <properties> 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.5</version> 16 <relativePath>../../pom.xml</relativePath> 17 </parent> 18 19 <artifactId>kotlin-gradle-plugin</artifactId> 20 <packaging>jar</packaging> 21 22 <dependencies> 23 <dependency> 24 <groupId>commons-io</groupId> 25 <artifactId>commons-io</artifactId> 26 <version>2.4</version> 27 </dependency> 28 <dependency> <!-- required in runtime --> 29 <groupId>commons-lang</groupId> 30 <artifactId>commons-lang</artifactId> 31 <version>2.6</version> 32 </dependency> 33 <dependency> 34 <groupId>org.jetbrains.kotlin</groupId> 35 <artifactId>kotlin-stdlib</artifactId> 36 <version>${project.version}</version> 37 </dependency> 38 <dependency> 39 <groupId>org.jetbrains.kotlin</groupId> 40 <artifactId>kotlin-android-extensions</artifactId> 41 <version>${project.version}</version> 42 </dependency> 43 <dependency> 44 <groupId>org.jetbrains.kotlin</groupId> 45 <artifactId>kotlin-gradle-plugin-api</artifactId> 46 <version>${project.version}</version> 47 </dependency> 48 <dependency> 49 <groupId>org.jetbrains.kotlin</groupId> 50 <artifactId>kotlin-compiler-embeddable</artifactId> 51 <version>${project.version}</version> 52 </dependency> 53 <dependency> 54 <groupId>org.jetbrains.kotlin</groupId> 55 <artifactId>kotlin-annotation-processing</artifactId> 56 <version>${project.version}</version> 57 </dependency> 58 <dependency> 59 <groupId>org.jetbrains.kotlin</groupId> 60 <artifactId>kotlin-build-common-test</artifactId> 61 <version>${project.version}</version> 62 <scope>test</scope> 63 </dependency> 64 <dependency> 65 <groupId>com.android.tools.build</groupId> 66 <artifactId>gradle</artifactId> 67 <version>1.1.0</version> 68 <scope>provided</scope> 69 </dependency> 70 <dependency> 71 <groupId>org.jetbrains.kotlin</groupId> 72 <artifactId>gradle-api</artifactId> 73 <version>2.2</version> 74 <scope>provided</scope> 75 </dependency> 76 </dependencies> 77 78 <build> 79 <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> 80 <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> 81 82 <resources> 83 <resource> 84 <directory>${project.basedir}/src/main/resources</directory> 85 <filtering>true</filtering> 86 </resource> 87 </resources> 88 89 <plugins> 90 <plugin> 91 <groupId>org.apache.maven.plugins</groupId> 92 <artifactId>maven-jar-plugin</artifactId> 93 <version>2.6</version> 94 <executions> 95 <execution> 96 <goals> 97 <goal>test-jar</goal> 98 </goals> 99 </execution> 100 </executions> 101 </plugin> 102 <plugin> 103 <artifactId>kotlin-maven-plugin</artifactId> 104 <groupId>org.jetbrains.kotlin</groupId> 105 <version>${project.version}</version> 106 107 <executions> 108 <execution> 109 <id>compile</id> 110 <phase>compile</phase> 111 <goals> <goal>compile</goal> </goals> 112 <configuration> 113 <sourceDirs> 114 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir> 115 </sourceDirs> 116 </configuration> 117 </execution> 118 119 <execution> 120 <id>test-compile</id> 121 <phase>test-compile</phase> 122 <goals> <goal>test-compile</goal> </goals> 123 </execution> 124 </executions> 125 </plugin> 126 <plugin> 127 <groupId>org.codehaus.gmaven</groupId> 128 <artifactId>gmaven-plugin</artifactId> 129 <version>1.5</version> 130 <configuration> 131 <providerSelection>2.0</providerSelection> 132 <source/> 133 </configuration> 134 <executions> 135 <execution> 136 <phase>process-sources</phase> 137 <goals> <goal>compile</goal></goals> 138 <configuration> 139 <sources> 140 <fileset> 141 <directory>${project.basedir}/src/main/kotlin</directory> 142 <includes> 143 <include>**/*.groovy</include> 144 </includes> 145 </fileset> 146 </sources> 147 </configuration> 148 </execution> 149 </executions> 150 </plugin> 151 <plugin> 152 <groupId>org.apache.maven.plugins</groupId> 153 <artifactId>maven-surefire-plugin</artifactId> 154 <version>2.19.1</version> 155 </plugin> 156 <plugin> 157 <groupId>org.jetbrains.dokka</groupId> 158 <artifactId>dokka-maven-plugin</artifactId> 159 <version>0.9.9</version> 160 <executions> 161 <execution> 162 <phase>pre-site</phase> 163 <goals> 164 <goal>dokka</goal> 165 </goals> 166 </execution> 167 </executions> 168 <configuration> 169 <outputFormat>markdown</outputFormat> 170 <includes> 171 <include> 172 ${project.basedir}/Module.md 173 </include> 174 </includes> 175 </configuration> 176 </plugin> 177 </plugins> 178 </build> 179 180 <repositories> 181 <repository> 182 <id>jetbrains-utils</id> 183 <url>http://repository.jetbrains.com/utils</url> 184 </repository> 185 <repository> 186 <id>central</id> 187 <name>bintray</name> 188 <url>http://jcenter.bintray.com</url> 189 </repository> 190 </repositories> 191 192 <pluginRepositories> 193 <pluginRepository> 194 <id>jcenter</id> 195 <name>JCenter</name> 196 <url>https://jcenter.bintray.com/</url> 197 </pluginRepository> 198 </pluginRepositories> 199 </project>