Last active
February 19, 2016 15:34
-
-
Save nawada/b5882c6b7feef694ec3f to your computer and use it in GitHub Desktop.
Maven project for Kotlin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<!-- ここを各人で作成した値にする --> | |
<groupId>com.exmaple.mvn.kotlin</groupId> | |
<artifactId>MavenKotlin</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<!-- /ここを各人で作成した値にする --> | |
<properties> | |
<!-- 1.0 --> | |
<kotlin.version>1.0.0</kotlin.version> | |
<vget.version>1.1.23</vget.version> | |
<jsoup.version>1.8.3</jsoup.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>sonatype.oss.snapshots</id> | |
<name>Sonatype OSS Snapshot Repository</name> | |
<url>http://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>sonatype.oss.snapshots</id> | |
<name>Sonatype OSS Snapshot Repository</name> | |
<url>http://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<artifactId>kotlin-stdlib</artifactId> | |
<version>${kotlin.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.github.axet</groupId> | |
<artifactId>vget</artifactId> | |
<version>${vget.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jsoup</groupId> | |
<artifactId>jsoup</artifactId> | |
<version>${jsoup.version}</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> | |
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> | |
<plugins> | |
<plugin> | |
<artifactId>kotlin-maven-plugin</artifactId> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<version>${kotlin.version}</version> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>test-compile</id> | |
<goals> | |
<goal>test-compile</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment