Skip to content

Commit c12b68a

Browse files
committed
kotlin first-class citizen fix #619
1 parent 108aea5 commit c12b68a

15 files changed

Lines changed: 828 additions & 19 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ bin
2020
*.versionsBackup
2121
pom.xml.versionsBackup
2222
jacoco.exec
23+
.*.md.html

jooby-lang-kotlin/pom.xml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
5+
<parent>
6+
<groupId>org.jooby</groupId>
7+
<artifactId>jooby-project</artifactId>
8+
<version>1.0.4-SNAPSHOT</version>
9+
</parent>
10+
11+
<modelVersion>4.0.0</modelVersion>
12+
<artifactId>jooby-lang-kotlin</artifactId>
13+
14+
<name>lang-kotlin</name>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
19+
20+
<plugins>
21+
<plugin>
22+
<artifactId>kotlin-maven-plugin</artifactId>
23+
<groupId>org.jetbrains.kotlin</groupId>
24+
<version>${kotlin.version}</version>
25+
<executions>
26+
<execution>
27+
<id>compile</id>
28+
<goals>
29+
<goal>compile</goal>
30+
</goals>
31+
<configuration>
32+
<args>-java-parameters</args>
33+
<jvmTarget>1.8</jvmTarget>
34+
</configuration>
35+
</execution>
36+
37+
<execution>
38+
<id>test-compile</id>
39+
<goals>
40+
<goal>test-compile</goal>
41+
</goals>
42+
</execution>
43+
</executions>
44+
</plugin>
45+
46+
<!-- sure-fire -->
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-surefire-plugin</artifactId>
50+
<configuration>
51+
<includes>
52+
<include>**/*Test.java</include>
53+
<include>**/*Feature.java</include>
54+
<include>**/Issue*.java</include>
55+
</includes>
56+
</configuration>
57+
</plugin>
58+
59+
</plugins>
60+
</build>
61+
62+
<dependencies>
63+
<!-- Jooby -->
64+
<dependency>
65+
<groupId>org.jooby</groupId>
66+
<artifactId>jooby</artifactId>
67+
<version>${project.version}</version>
68+
</dependency>
69+
70+
<!-- Kotlin -->
71+
<dependency>
72+
<groupId>org.jetbrains.kotlin</groupId>
73+
<artifactId>kotlin-stdlib</artifactId>
74+
</dependency>
75+
76+
<!-- Test dependencies -->
77+
<dependency>
78+
<groupId>org.jooby</groupId>
79+
<artifactId>jooby</artifactId>
80+
<version>${project.version}</version>
81+
<scope>test</scope>
82+
<classifier>tests</classifier>
83+
</dependency>
84+
85+
<dependency>
86+
<groupId>junit</groupId>
87+
<artifactId>junit</artifactId>
88+
<scope>test</scope>
89+
</dependency>
90+
91+
<dependency>
92+
<groupId>org.easymock</groupId>
93+
<artifactId>easymock</artifactId>
94+
<scope>test</scope>
95+
</dependency>
96+
97+
<dependency>
98+
<groupId>org.powermock</groupId>
99+
<artifactId>powermock-api-easymock</artifactId>
100+
<scope>test</scope>
101+
</dependency>
102+
103+
<dependency>
104+
<groupId>org.powermock</groupId>
105+
<artifactId>powermock-module-junit4</artifactId>
106+
<scope>test</scope>
107+
</dependency>
108+
109+
<dependency>
110+
<groupId>org.jacoco</groupId>
111+
<artifactId>org.jacoco.agent</artifactId>
112+
<classifier>runtime</classifier>
113+
<scope>test</scope>
114+
</dependency>
115+
116+
</dependencies>
117+
118+
</project>

0 commit comments

Comments
 (0)