Skip to content

Commit a9fb14c

Browse files
committed
Add 243 build profile
1 parent d9a85b2 commit a9fb14c

File tree

3 files changed

+52
-4
lines changed

3 files changed

+52
-4
lines changed

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/BuildScriptUtils.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ fun Project.jvmTarget(): Provider<JavaVersion> = withCurrentProfileName {
2828
}
2929
}
3030

31-
// https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#other-bundled-kotlin-libraries
31+
// https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#stdlib-miscellaneous
3232
fun Project.kotlinTarget(): Provider<String> = withCurrentProfileName {
3333
when (it) {
3434
"2023.3", "2024.1", "2024.2" -> KotlinVersionEnum.KOTLIN_1_9
35+
"2024.3" -> KotlinVersionEnum.KOTLIN_2_0
3536
else -> error("not set")
3637
}.version
3738
}

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,50 @@ object IdeVersions {
138138
nugetVersion = " 2024.2.0-eap07"
139139
)
140140
),
141+
Profile(
142+
name = "2024.3",
143+
gateway = ProductProfile(
144+
sdkFlavor = IdeFlavor.GW,
145+
sdkVersion = "243.15521-EAP-CANDIDATE-SNAPSHOT",
146+
bundledPlugins = listOf("org.jetbrains.plugins.terminal")
147+
),
148+
community = ProductProfile(
149+
sdkFlavor = IdeFlavor.IC,
150+
sdkVersion = "243.15521-EAP-CANDIDATE-SNAPSHOT",
151+
bundledPlugins = commonPlugins + listOf(
152+
"com.intellij.java",
153+
"com.intellij.gradle",
154+
"org.jetbrains.idea.maven",
155+
),
156+
marketplacePlugins = listOf(
157+
"org.toml.lang:243.15521.25",
158+
"PythonCore:243.15521.24",
159+
"Docker:243.15521.35"
160+
)
161+
),
162+
ultimate = ProductProfile(
163+
sdkFlavor = IdeFlavor.IU,
164+
sdkVersion = "243.15521-EAP-CANDIDATE-SNAPSHOT",
165+
bundledPlugins = commonPlugins + listOf(
166+
"JavaScript",
167+
"JavaScriptDebugger",
168+
"com.intellij.database",
169+
"com.jetbrains.codeWithMe",
170+
),
171+
marketplacePlugins = listOf(
172+
"org.toml.lang:243.15521.25",
173+
"Pythonid:243.15521.24",
174+
"org.jetbrains.plugins.go:243.15521.24",
175+
)
176+
),
177+
rider = RiderProfile(
178+
sdkVersion = "2024.3-EAP1-SNAPSHOT",
179+
bundledPlugins = commonPlugins,
180+
netFrameworkTarget = "net472",
181+
rdGenVersion = "2024.3.0",
182+
nugetVersion = " 2024.3.0-eap01"
183+
)
184+
),
141185

142186
).associateBy { it.name }
143187

kotlinResolution.settings.gradle.kts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
dependencyResolutionManagement {
55
versionCatalogs {
66
maybeCreate("libs").apply {
7-
// pull value from IJ library list: https://github.com/JetBrains/intellij-community/blob/<mv>/.idea/libraries/kotlinx_coroutines_jdk8.xml
8-
// or: https://github.com/JetBrains/intellij-community/blob/<mv>/.idea/libraries/kotlinx_coroutines_core.xml
7+
// pull value from IJ library list: https://github.com/JetBrains/intellij-community/blob/<mv>/.idea/libraries/kotlinx_coroutines_core.xml
98
val version = when (providers.gradleProperty("ideProfileName").getOrNull() ?: return@apply) {
109
"2023.3", "2024.1" -> {
1110
"1.7.3"
1211
}
1312

1413
"2024.2" -> {
15-
"1.8.0"
14+
"1.8.0-intellij-9"
15+
}
16+
17+
"2024.3" -> {
18+
"1.8.0-intellij-10"
1619
}
1720

1821
else -> { error("not set") }

0 commit comments

Comments
 (0)