@@ -14,11 +14,6 @@ repositories {
14
14
}
15
15
16
16
sourceSets {
17
- npmTest {
18
- kotlin
19
- compileClasspath + = sourceSets. test. runtimeClasspath
20
- runtimeClasspath + = sourceSets. test. runtimeClasspath
21
- }
22
17
mavenTest {
23
18
kotlin
24
19
compileClasspath + = sourceSets. test. runtimeClasspath
@@ -43,20 +38,6 @@ compileDebugAgentTestKotlin {
43
38
}
44
39
}
45
40
46
- task npmTest (type : Test ) {
47
- def sourceSet = sourceSets. npmTest
48
- environment " projectRoot" , project. rootDir
49
- environment " deployVersion" , version
50
- def dryRunNpm = project. properties[' dryRun' ]
51
- def doRun = dryRunNpm == " true" // so that we don't accidentally publish anything, especially before the test
52
- onlyIf { doRun }
53
- if (doRun) { // `onlyIf` only affects execution of the task, not the dependency subtree
54
- dependsOn(project(' :' ). getTasksByName(" publishNpm" , true ))
55
- }
56
- testClassesDirs = sourceSet. output. classesDirs
57
- classpath = sourceSet. runtimeClasspath
58
- }
59
-
60
41
task mavenTest (type : Test ) {
61
42
environment " version" , version
62
43
def sourceSet = sourceSets. mavenTest
@@ -96,8 +77,6 @@ task coreAgentTest(type: Test) {
96
77
dependencies {
97
78
testImplementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
98
79
testImplementation ' junit:junit:4.12'
99
- npmTestImplementation ' org.apache.commons:commons-compress:1.18'
100
- npmTestImplementation ' com.google.code.gson:gson:2.8.5'
101
80
debugAgentTestImplementation project(' :kotlinx-coroutines-core' )
102
81
debugAgentTestImplementation project(' :kotlinx-coroutines-debug' )
103
82
coreAgentTestImplementation project(' :kotlinx-coroutines-core' )
@@ -108,5 +87,5 @@ compileTestKotlin {
108
87
}
109
88
110
89
check {
111
- dependsOn([npmTest, mavenTest, debugAgentTest, coreAgentTest])
90
+ dependsOn([mavenTest, debugAgentTest, coreAgentTest])
112
91
}
0 commit comments