组织ID: |
org.jetbrains.kotlin |
项目ID: |
kotlin-test-junit |
版本: |
1.0.2 |
最后修改时间: |
2019-09-04 19:48:09 |
包类型: |
jar |
大小: |
5.46KB |
|
Maven引入代码: |
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit</artifactId>
<version>1.0.2</version>
</dependency>
|
Gradle引入代码: |
org.jetbrains.kotlin:kotlin-test-junit:1.0.2
|
下载Jar包: |
|
POM文件内容: |
<?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">
<parent>
<artifactId>kotlin-test-parent</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>1.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>kotlin-test-junit</artifactId>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>(4,5)</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-js-library</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/assembly/sources.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<forceCreation>true</forceCreation>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<archive>
<forced />
<manifestEntries>
<Built-By>${user.name}</Built-By>
<Implementation-Vendor>JetBrains s.r.o.</Implementation-Vendor>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<configuration>
<args>
<arg>-Xallow-kotlin-package</arg>
</args>
</configuration>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sourceDirs>
<dir>${project.basedir}/src/main/kotlin</dir>
<dir>${project.basedir}/src/main/kotlin.jvm</dir>
</sourceDirs>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>test-compile</goal>
</goals>
<configuration>
<sourceDirs>
<dir>${project.basedir}/src/test/kotlin</dir>
<dir>${project.basedir}/src/test/kotlin.jvm</dir>
</sourceDirs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
META-INF/services/kotlin.test.AsserterContributor
kotlin.test.junit.JUnitContributor.class
kotlin.test.junit.JUnitAsserter.class
META-INF/maven/org.jetbrains.kotlin/kotlin-test-junit/pom.xml
META-INF/maven/org.jetbrains.kotlin/kotlin-test-junit/pom.properties
|
依赖Jar: |
junit-(4,5).jar
/junit/junit/(4,5)
查看junit所有版本文件
kotlin-test-${project.version}.jar
/org.jetbrains.kotlin/kotlin-test/${project.version}
查看kotlin-test所有版本文件
|