Prefer Kotlin Gradle test run configurations when possible (KT-33787)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
||||
testCompile "junit:junit:4.12"
|
||||
}
|
||||
Vendored
Executable
+9
@@ -0,0 +1,9 @@
|
||||
import org.junit.Test;
|
||||
|
||||
public class MyTest {
|
||||
@Test
|
||||
public void testA() {}
|
||||
|
||||
@Test
|
||||
public void testB() {}
|
||||
}
|
||||
Vendored
Executable
+11
@@ -0,0 +1,11 @@
|
||||
import org.junit.Test
|
||||
|
||||
class MyKotlinTest {
|
||||
@Test
|
||||
fun testA() {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testB() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user