Skip to content

Commit 0b42ee1

Browse files
authored
Merge branch 'main' into main
2 parents 19d55ac + 4eaa965 commit 0b42ee1

File tree

19 files changed

+3719
-2768
lines changed

19 files changed

+3719
-2768
lines changed

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/intellij/IdeVersions.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ object IdeVersions {
100100
),
101101
Profile(
102102
name = "2024.2",
103-
gateway = ProductProfile(
104-
sdkVersion = "242.23726-EAP-CANDIDATE-SNAPSHOT",
105-
bundledPlugins = listOf("org.jetbrains.plugins.terminal")
106-
),
107103
community = ProductProfile(
108104
sdkVersion = "2024.2",
109105
bundledPlugins = commonPlugins + listOf(

buildSrc/src/main/kotlin/toolkit-integration-testing.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ extensions.findByType<IntelliJPlatformTestingExtension>()?.let {
7979
task {
8080
integrationTestConfiguration(this)
8181
}
82+
83+
// https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1844
84+
prepareSandboxTask {
85+
disabledPlugins.add("com.intellij.swagger")
86+
}
8287
}
8388
} ?: run {
8489
val integrationTest by tasks.registering(Test::class, integrationTestConfiguration)

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
55
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
6+
import org.jetbrains.intellij.platform.gradle.tasks.PrepareSandboxTask
67
import software.aws.toolkits.gradle.findFolders
78
import software.aws.toolkits.gradle.intellij.IdeVersions
89
import software.aws.toolkits.gradle.intellij.toolkitIntelliJ
@@ -103,7 +104,8 @@ dependencies {
103104
}
104105
}
105106

106-
tasks.prepareTestSandbox {
107+
// https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1844
108+
tasks.withType<PrepareSandboxTask>().configureEach {
107109
disabledPlugins.addAll(
108110
"com.intellij.swagger",
109111
"org.jetbrains.plugins.kotlin.jupyter",

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererConstants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ object CodeWhispererConstants {
155155

156156
object Config {
157157
val CODEWHISPERER_ENDPOINT
158-
get() = Registry.get("amazon.q.endpoint").asString()
158+
get() = System.getenv("__CODEWHISPERER_ENDPOINT") ?: Registry.get("amazon.q.endpoint").asString()
159159

160160
const val CODEWHISPERER_IDPOOL_ID = "us-east-1:70717e99-906f-4add-908c-bd9074a2f5b9"
161161
val Sigv4ClientRegion = Region.US_EAST_1

0 commit comments

Comments
 (0)