mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Call the kotlin compiler from within a test case.
This is a fragile first step.
This commit is contained in:
22
pom.xml
22
pom.xml
@@ -30,11 +30,13 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>1.7</java.version>
|
||||
<kotlin.version>1.2.21</kotlin.version>
|
||||
<kotlin-metadata.version>1.2.1</kotlin-metadata.version>
|
||||
|
||||
<!-- Dependencies -->
|
||||
<okio.version>1.13.0</okio.version>
|
||||
|
||||
<!-- Test Dependencies -->
|
||||
<compile-testing.version>0.8</compile-testing.version>
|
||||
<junit.version>4.12</junit.version>
|
||||
<assertj.version>1.7.0</assertj.version>
|
||||
</properties>
|
||||
@@ -97,6 +99,26 @@
|
||||
<version>${kotlin.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-compiler-embeddable</artifactId>
|
||||
<version>${kotlin.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-annotation-processing-embeddable</artifactId>
|
||||
<version>${kotlin.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.eugeniomarletti</groupId>
|
||||
<artifactId>kotlin-metadata</artifactId>
|
||||
<version>${kotlin-metadata.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.testing.compile</groupId>
|
||||
<artifactId>compile-testing</artifactId>
|
||||
<version>${compile-testing.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
Reference in New Issue
Block a user