File tree 7 files changed +20
-2
lines changed
main/kotlin/io/fabric8/kubernetes/client
test/kotlin/com/redhat/devtools/intellij/kubernetes/model/mocks
7 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ plugins {
6
6
alias(libs.plugins.gradleIntelliJPlugin) // Gradle IntelliJ Plugin
7
7
alias(libs.plugins.kotlinJvm)
8
8
id(" idea" )
9
+ id(" java" )
9
10
}
10
11
11
12
group = " com.redhat.devtools.intellij"
@@ -84,7 +85,7 @@ dependencies {
84
85
}
85
86
86
87
intellijPlatform {
87
- buildSearchableOptions = false
88
+ // buildSearchableOptions = false
88
89
89
90
pluginConfiguration {
90
91
ideaVersion {
@@ -110,6 +111,14 @@ intellijPlatform {
110
111
}
111
112
112
113
tasks {
114
+ compileJava {
115
+ options.isIncremental = false
116
+ }
117
+
118
+ compileKotlin {
119
+ incremental = false
120
+ }
121
+
113
122
wrapper {
114
123
gradleVersion = providers.gradleProperty(" gradleVersion" ).get()
115
124
}
@@ -134,6 +143,14 @@ configurations.all {
134
143
}
135
144
136
145
sourceSets {
146
+ main {
147
+ java.srcDir(" src/main/kotlin" )
148
+ kotlin.srcDir(" src/main/kotlin" )
149
+ }
150
+ test {
151
+ java.srcDir(" src/test/kotlin" )
152
+ kotlin.srcDir(" src/test/kotlin" )
153
+ }
137
154
create(" it" ) {
138
155
description = " integrationTest"
139
156
compileClasspath + = sourceSets.main.get().compileClasspath + sourceSets.test.get().compileClasspath
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 10
10
******************************************************************************/
11
11
package com.redhat.devtools.intellij.kubernetes.model.mocks
12
12
13
+ import io.fabric8.kubernetes.client.Config
13
14
import com.nhaarman.mockitokotlin2.any
14
15
import com.nhaarman.mockitokotlin2.anyOrNull
15
16
import com.nhaarman.mockitokotlin2.doAnswer
@@ -209,7 +210,7 @@ object Mocks {
209
210
fun clientConfig (
210
211
currentContext : NamedContext ? ,
211
212
allContexts : List <NamedContext >,
212
- configuration : io.fabric8.kubernetes.client. Config = mock()
213
+ configuration : Config = mock()
213
214
): ClientConfig {
214
215
val saveFuture: CompletableFuture <Boolean > = mock()
215
216
return mock {
You can’t perform that action at this time.
0 commit comments