Conversation
| apply from: "settingsScripts/out-setup.groovy" | ||
| getGradle().beforeProject { project -> | ||
| def checkoutRoot = new File("${buildscript.sourceFile.parent}/..") | ||
| def checkoutRoot = new File("${buildscript.sourceFile.parent}/../../..") |
There was a problem hiding this comment.
Needs to be reverted for jb-main
| } | ||
| */ | ||
| if (true /* In JetBrains Fork */) { | ||
| if (System.getenv("ALLOW_PUBLIC_REPOS") != null || System.getProperty("ALLOW_PUBLIC_REPOS") != null) { |
There was a problem hiding this comment.
Needs to be reverted for jb-main
|
|
||
| val JETBRAINS_MINIMAL_JAVA_VERSION = VERSION_11 | ||
| val JETBRAINS_COMPILE_KOTLIN_VERSION = KOTLIN_2_2 | ||
| val JETBRAINS_COMPILE_KOTLIN_VERSION = KOTLIN_2_3 |
There was a problem hiding this comment.
We should not bump it here
| fun Project.getCheckoutRoot(): File { | ||
| if (!ProjectLayoutType.isPlayground(project)) { | ||
| throw IllegalStateException("repo checkout root is not available in playground project layout") | ||
| } |
There was a problem hiding this comment.
This was a valid check. Needs to be restored
| if ( | ||
| ProjectLayoutType.from(project) == ProjectLayoutType.PLAYGROUND || | ||
| System.getenv("COMPOSE_DESKTOP_GITHUB_BUILD") != null | ||
| ) { |
There was a problem hiding this comment.
The previous version was correct
| KOTLIN_2_2(KotlinVersion.KOTLIN_2_2, "kotlin22"), | ||
| KOTLIN_2_3(KotlinVersion.KOTLIN_2_3, "kotlin23"), | ||
| DEFAULT(JETBRAINS_COMPILE_KOTLIN_VERSION), | ||
| DEFAULT(KOTLIN_2_3), |
| if (ProjectLayoutType.isPlayground(project)) { | ||
| // Do not ban calling this because it's used in a lot benchmark projects during the configuration stage. | ||
| return rootProject.projectDir | ||
| } |
There was a problem hiding this comment.
This was a valid check. Needs to be restored
| if (ProjectLayoutType.isPlayground(project)) { | ||
| // In JetBrains Fork required parts of the "external" folder are copied into this repo. | ||
| return File(rootProject.projectDir, "external").canonicalFile | ||
| } |
There was a problem hiding this comment.
This was a valid check. Needs to be restored
| fun Project.getGradlePrebuiltsPath(): File { | ||
| if (ProjectLayoutType.isPlayground(project)) { | ||
| throw IllegalStateException("external projects are not available in playground project layout") | ||
| } |
There was a problem hiding this comment.
This was a valid check. Needs to be restored
|
|
||
| // TODO remove it after https://youtrack.jetbrains.com/issue/CMP-9524/Support-the-same-setup-for-integration-and-jb-main-branches | ||
| // This code includes dependencies defined in comments and in "androidMain" that doesn't work in jb-main yet | ||
| return |
There was a problem hiding this comment.
Seems like integration/buildSrc can't be copied to jb-main as is?
There was a problem hiding this comment.
Yes, we have an adopted version here. It's "close enough" now, but still not the same
An attempt to sync buildSrc
Testing
N/A
Release Notes
N/A