File tree Expand file tree Collapse file tree 9 files changed +86
-3
lines changed Expand file tree Collapse file tree 9 files changed +86
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,5 @@ plugins {
7
7
8
8
dependencies {
9
9
implementation(project(" :plugin-amazonq:shared:jetbrains-community" , " instrumentedJar" ))
10
-
11
- // delete when fully split
12
10
implementation(project(" :plugin-amazonq:shared:jetbrains-ultimate" , " instrumentedJar" ))
13
11
}
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ intellijToolkit {
12
12
}
13
13
14
14
dependencies {
15
+ compileOnly(project(" :plugin-core:jetbrains-community" ))
16
+
15
17
// delete when fully split
16
18
compileOnly(project(" :plugin-toolkit:jetbrains-core" , " instrumentedJar" ))
17
19
}
Original file line number Diff line number Diff line change @@ -13,5 +13,8 @@ intellijToolkit {
13
13
14
14
dependencies {
15
15
compileOnly(project(" :plugin-amazonq:shared:jetbrains-community" ))
16
+ compileOnly(project(" :plugin-core:jetbrains-ultimate" ))
17
+
18
+ // delete when fully split
16
19
compileOnly(project(" :plugin-toolkit:jetbrains-ultimate" ))
17
20
}
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import software.aws.toolkits.gradle.intellij.IdeFlavor
5
+ import software.aws.toolkits.gradle.intellij.IdeVersions
6
+
7
+ plugins {
8
+ id(" org.jetbrains.intellij" )
9
+ }
10
+
11
+ val ideProfile = IdeVersions .ideProfile(project)
12
+
13
+ val toolkitVersion: String by project
14
+ val publishToken: String by project
15
+ val publishChannel: String by project
16
+
17
+ intellij {
18
+ version.set(ideProfile.community.version())
19
+ localPath.set(ideProfile.community.localPath())
20
+
21
+ updateSinceUntilBuild.set(false )
22
+ instrumentCode.set(false )
23
+ }
24
+
25
+ dependencies {
26
+ implementation(project(" :plugin-core:sdk-codegen" ))
27
+ implementation(project(" :plugin-core:jetbrains-community" ))
28
+ implementation(project(" :plugin-core:jetbrains-ultimate" ))
29
+ }
30
+
31
+ configurations {
32
+ // Make sure we exclude stuff we either A) ships with IDE, B) we don't use to cut down on size
33
+ runtimeClasspath {
34
+ exclude(group = " org.slf4j" )
35
+ exclude(group = " org.jetbrains.kotlin" )
36
+ exclude(group = " org.jetbrains.kotlinx" )
37
+ }
38
+ }
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import software.aws.toolkits.gradle.intellij.IdeFlavor
5
+
6
+ plugins {
7
+ id(" toolkit-intellij-subplugin" )
8
+ }
9
+
10
+ intellijToolkit {
11
+ ideFlavor.set(IdeFlavor .IC )
12
+ }
13
+
14
+ dependencies {
15
+ implementation(project(" :plugin-core:sdk-codegen" ))
16
+ }
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import software.aws.toolkits.gradle.intellij.IdeFlavor
5
+
6
+ plugins {
7
+ id(" toolkit-intellij-subplugin" )
8
+ }
9
+
10
+ intellijToolkit {
11
+ ideFlavor.set(IdeFlavor .IU )
12
+ }
13
+
14
+ dependencies {
15
+ compileOnly(project(" :plugin-core:jetbrains-community" ))
16
+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ plugins {
9
9
10
10
dependencies {
11
11
api(project(" :plugin-toolkit:resources" ))
12
- api(project(" :plugin-core:sdk-codegen" ))
12
+ compileOnly(project(" :plugin-core:sdk-codegen" ))
13
+ // delete when fully split
14
+ implementation(project(" :plugin-core:sdk-codegen" ))
13
15
14
16
api(libs.aws.cognitoidentity)
15
17
api(libs.aws.ecr)
Original file line number Diff line number Diff line change @@ -141,6 +141,12 @@ dependencies {
141
141
api(libs.aws.sqs)
142
142
api(libs.aws.services)
143
143
144
+ compileOnly(project(" :plugin-core:jetbrains-community" ))
145
+ runtimeOnly(project(" :plugin-core:jetbrains-community" , " instrumentedJar" ))
146
+ // can't seem to make this transitive from :plugin-core:jetbrains-community
147
+ compileOnly(project(" :plugin-core:sdk-codegen" ))
148
+ testImplementation(project(" :plugin-core:sdk-codegen" ))
149
+
144
150
implementation(project(" :plugin-amazonq:mynah-ui" ))
145
151
implementation(libs.aws.crt)
146
152
implementation(libs.bundles.jackson)
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ plugins {
13
13
dependencies {
14
14
compileOnly(project(" :plugin-toolkit:jetbrains-core" ))
15
15
runtimeOnly(project(" :plugin-toolkit:jetbrains-core" , " instrumentedJar" ))
16
+ compileOnly(project(" :plugin-core:jetbrains-ultimate" ))
17
+ runtimeOnly(project(" :plugin-core:jetbrains-ultimate" , " instrumentedJar" ))
16
18
17
19
testCompileOnly(project(" :plugin-toolkit:jetbrains-core" ))
18
20
testRuntimeOnly(project(" :plugin-toolkit:jetbrains-core" , " instrumentedJar" ))
You can’t perform that action at this time.
0 commit comments