Skip to content

Commit 7ae572c

Browse files
authored
Merge pull request #2599 from digma-ai/update-build-profile-243
Update build profile 243
2 parents 1b62d1e + 6719f3d commit 7ae572c

File tree

13 files changed

+113
-56
lines changed

13 files changed

+113
-56
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run IDEA Community - 2025.1" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea_IC.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="-PbuildProfile=p251" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="buildPlugin" />
15+
<option value="runIde" />
16+
</list>
17+
</option>
18+
<option name="vmOptions" value="" />
19+
</ExternalSystemSettings>
20+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
21+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
22+
<DebugAllEnabled>false</DebugAllEnabled>
23+
<RunAsTest>false</RunAsTest>
24+
<method v="2" />
25+
</configuration>
26+
</component>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run IDEA Ultimate - 2025.1" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea_IU.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="-PbuildWIthUltimate=true -PbuildProfile=p251" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="buildPlugin" />
15+
<option value="runIde" />
16+
</list>
17+
</option>
18+
<option name="vmOptions" value="" />
19+
</ExternalSystemSettings>
20+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
21+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
22+
<DebugAllEnabled>false</DebugAllEnabled>
23+
<RunAsTest>false</RunAsTest>
24+
<method v="2" />
25+
</configuration>
26+
</component>

.run/Run Rider - 2025.1.run.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Rider - 2025.1" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea_RD.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="-PbuildWithRider=true -PbuildProfile=p243" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="buildPlugin" />
15+
<option value="runIde" />
16+
</list>
17+
</option>
18+
<option name="vmOptions" value="" />
19+
</ExternalSystemSettings>
20+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
21+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
22+
<DebugAllEnabled>false</DebugAllEnabled>
23+
<RunAsTest>false</RunAsTest>
24+
<method v="2" />
25+
</configuration>
26+
</component>

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ tasks {
253253
//to upgrade gradle change the version here and run:
254254
//./gradlew wrapper --gradle-version 8.8
255255
//check that gradle/wrapper/gradle-wrapper.properties was changed
256-
gradleVersion = "8.10"
256+
gradleVersion = "8.11"
257257
distributionType = Wrapper.DistributionType.ALL
258258
distributionBase = Wrapper.PathBase.GRADLE_USER_HOME
259259
distributionPath = "wrapper/dists"

common-build-logic/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies {
1414
//when updating intellij-platform-gradle-plugin update also org.jetbrains.intellij.platform.settings plugin
1515
// in settings file to the same version. we need to maintain it in two places, unfortunately.
1616
implementation("org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.1.0") // Update also org.jetbrains.intellij.platform.settings in settings.gradle.kts
17-
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20")
17+
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21")
1818
implementation("com.glovoapp.gradle:versioning:1.1.10")
1919
implementation("de.undercouch:gradle-download-task:5.6.0")
2020
}
@@ -26,7 +26,7 @@ java {
2626

2727
kotlin {
2828
jvmToolchain {
29-
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of("17"))
29+
this.languageVersion.set(JavaLanguageVersion.of("17"))
3030
}
3131
}
3232

common-build-logic/src/main/kotlin/common/BuildProfile.kt

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fun Project.useBinaryInstaller(): Boolean = !this.currentProfile().isEAP
7878
object BuildProfiles {
7979

8080
@Suppress("EnumEntryName")
81-
enum class Profile { p231, p232, p233, p241, p242, p243 }
81+
enum class Profile { p231, p232, p233, p241, p242, p243, p251 }
8282

8383
fun Profile.greaterThan(other:Profile):Boolean{
8484
val thisNumber = this.name.substring(1).toInt()
@@ -112,8 +112,8 @@ object BuildProfiles {
112112
//update this list as new profiles are added or removed
113113
private val profileAliases = mapOf(
114114
"lowest" to Profile.p231.name,
115-
"latest" to Profile.p242.name,
116-
"eap" to Profile.p243.name,
115+
"latest" to Profile.p243.name,
116+
"eap" to Profile.p251.name,
117117
)
118118

119119

@@ -217,12 +217,27 @@ object BuildProfiles {
217217
),
218218

219219
Profile.p243 to BuildProfile(
220+
profile = Profile.p243,
221+
platformVersion = "2024.3",
222+
riderVersion = "2024.3",
223+
pycharmVersion = "2024.3",
224+
riderTargetFramework = "net8.0",
225+
riderResharperVersionConstant = "PROFILE_2023_2;PROFILE_2024_3",
226+
platformVersionCode = "243",
227+
pluginSinceBuild = "243",
228+
pluginUntilBuild = "243.*",
229+
kotlinTarget = KotlinVersion.KOTLIN_2_0,
230+
kotlinJvmTarget = JvmTarget.JVM_21,
231+
javaVersion = JavaVersion.VERSION_21.majorVersion,
232+
),
233+
234+
//todo: next EAP
235+
Profile.p251 to BuildProfile(
220236
isEAP = true,
221237
profile = Profile.p243,
222-
platformVersion = "243.21565-EAP-CANDIDATE-SNAPSHOT",
223-
//todo: Digma.Rider.Tests is disabled because it doesn't compile with 2024.3-EAP1-SNAPSHOT, there is mismatch with jetbrains packages try to build it with next snapshots.
224-
riderVersion = "2024.3-EAP5-SNAPSHOT",
225-
pycharmVersion = "243-EAP-SNAPSHOT",
238+
platformVersion = "2024.3",
239+
riderVersion = "2024.3",
240+
pycharmVersion = "2024.3",
226241
riderTargetFramework = "net8.0",
227242
riderResharperVersionConstant = "PROFILE_2023_2;PROFILE_2024_3",
228243
platformVersionCode = "243",

common-build-logic/src/main/kotlin/common/rider/RiderCommon.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ fun rdGenVersionByProfile(profile: BuildProfiles.Profile): String {
2424
BuildProfiles.Profile.p233 -> "2023.3.2"
2525
BuildProfiles.Profile.p241 -> "2023.3.2"
2626
BuildProfiles.Profile.p242 -> "2024.1.1"
27-
//todo: for rider 2024.3 needs a new rdgen, 2024.3
28-
// update the version when new one comes out
29-
BuildProfiles.Profile.p243 -> "2024.3-pre2"
27+
BuildProfiles.Profile.p243 -> "2024.3.1"
28+
BuildProfiles.Profile.p251 -> "2024.3.1"
3029
}
3130
}

gradle/wrapper/gradle-wrapper.jar

130 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

0 commit comments

Comments
 (0)