File tree Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ sourceSets {
18
18
}
19
19
}
20
20
21
- configurations.getByName(" integrationTestImplementation " ) {
22
- extendsFrom(configurations.getByName(JavaPlugin .TEST_IMPLEMENTATION_CONFIGURATION_NAME ))
21
+ configurations.getByName(" integrationTestCompileClasspath " ) {
22
+ extendsFrom(configurations.getByName(JavaPlugin .TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME ))
23
23
isCanBeResolved = true
24
24
}
25
- configurations.getByName(" integrationTestRuntimeOnly " ) {
26
- extendsFrom(configurations.getByName(JavaPlugin .TEST_RUNTIME_ONLY_CONFIGURATION_NAME ))
25
+ configurations.getByName(" integrationTestRuntimeClasspath " ) {
26
+ extendsFrom(configurations.getByName(JavaPlugin .TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME ))
27
27
isCanBeResolved = true
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -21,12 +21,13 @@ val gatewayRunOnly by configurations.creating {
21
21
}
22
22
23
23
dependencies {
24
- // pull in :j-c:instrumentedJar for compile and :intellij:buildPlugin, but gateway variant when runIde/buildPlugin from :jetbrains-gateway
25
- compileOnly(project(" :jetbrains-core" , " instrumentedJar " ))
24
+ // link against :j-c: and rely on :intellij:buildPlugin to pull in :j-c:instrumentedJar , but gateway variant when runIde/buildPlugin from :jetbrains-gateway
25
+ compileOnly(project(" :jetbrains-core" ))
26
26
gatewayRunOnly(project(" :jetbrains-core" , " gatewayArtifacts" ))
27
27
28
28
testImplementation(project(path = " :core" , configuration = " testArtifacts" ))
29
- testImplementation(project(" :jetbrains-core" , " gatewayArtifacts" ))
29
+ testCompileOnly(project(" :jetbrains-core" ))
30
+ testRuntimeOnly(project(" :jetbrains-core" , " gatewayArtifacts" ))
30
31
testImplementation(project(path = " :jetbrains-core" , configuration = " testArtifacts" ))
31
32
testImplementation(libs.wiremock)
32
33
testImplementation(libs.bundles.sshd)
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ sourceSets {
50
50
}
51
51
52
52
dependencies {
53
- implementation(project(" :jetbrains-core" , " instrumentedJar" ))
53
+ compileOnly(project(" :jetbrains-core" ))
54
+ runtimeOnly(project(" :jetbrains-core" , " instrumentedJar" ))
55
+
56
+ testCompileOnly(project(" :jetbrains-core" ))
57
+ testRuntimeOnly(project(" :jetbrains-core" , " instrumentedJar" ))
54
58
testImplementation(project(path = " :jetbrains-core" , configuration = " testArtifacts" ))
55
59
}
56
60
Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ plugins {
11
11
}
12
12
13
13
dependencies {
14
- api(project(" :jetbrains-core" , " instrumentedJar" ))
14
+ compileOnly(project(" :jetbrains-core" ))
15
+ runtimeOnly(project(" :jetbrains-core" , " instrumentedJar" ))
15
16
17
+ testCompileOnly(project(" :jetbrains-core" ))
18
+ testRuntimeOnly(project(" :jetbrains-core" , " instrumentedJar" ))
16
19
testImplementation(project(path = " :jetbrains-core" , configuration = " testArtifacts" ))
17
20
testImplementation(project(path = " :core" , configuration = " testArtifacts" ))
18
21
testImplementation(libs.mockk)
19
-
20
- integrationTestImplementation(project(path = " :jetbrains-core" , configuration = " testArtifacts" ))
21
22
}
22
23
23
24
intellijToolkit {
You can’t perform that action at this time.
0 commit comments