-
Notifications
You must be signed in to change notification settings - Fork 111
buildSrc restoration in integration #2609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: integration-no-repo
Are you sure you want to change the base?
Conversation
settings.gradle
Outdated
| includeProject(":navigation:navigation-runtime-ktx", [BuildType.MAIN, BuildType.FLAN, BuildType.COMPOSE, BuildType.KMP]) | ||
| includeProject(":navigation:navigation-safe-args-generator", [BuildType.MAIN, BuildType.FLAN]) | ||
| includeProject(":navigation:navigation-safe-args-gradle-plugin", [BuildType.MAIN, BuildType.FLAN]) | ||
| //includeProject(":navigation:navigation-safe-args-generator", [BuildType.MAIN, BuildType.FLAN]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify shouldIncludeInJetBrainsFork instead
|
|
||
| private String getRequestedProjectSubsetName() { | ||
| return "COMPOSE" | ||
| /* In JetBrains Fork only COMPOSE subset is supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-repo changes are not supposed to be merged into the integration branch
...gation-testing/src/jvmTest/kotlin/androidx/navigation/testing/TestSavedStateHandleFactory.kt
Show resolved
Hide resolved
navigation/navigation-common/src/commonTest/kotlin/androidx/navigation/NavigatorProviderTest.kt
Show resolved
Hide resolved
|
|
||
| afterEvaluate { | ||
| tasks.withType(Test) { t -> | ||
| t.jvmArgs += ["--add-opens=java.desktop/sun.font=ALL-UNNAMED"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the context around it? Do we have some references/commits with explanation?
buildSrc/public/src/main/kotlin/org/jetbrains/androidx/build/ComposePlatforms.kt
Outdated
Show resolved
Hide resolved
|
@MatkovIvan, it is not ready for review yet (this code is just to make it work, and will be refactored) |
df05ac0 to
cd39c71
Compare
| commonMain.languageSettings.languageVersion = KotlinTarget.DEFAULT.apiVersion.version | ||
| iosMain.languageSettings.languageVersion = KotlinTarget.DEFAULT.apiVersion.version | ||
| iosX64Main.languageSettings.languageVersion = KotlinTarget.DEFAULT.apiVersion.version | ||
| iosArm64Main.languageSettings.languageVersion = KotlinTarget.DEFAULT.apiVersion.version | ||
| iosSimArm64Main.languageSettings.languageVersion = KotlinTarget.DEFAULT.apiVersion.version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already handled on line 53
| def savedstateVersion = project.findProperty('artifactRedirection.version.androidx.savedstate') | ||
| api("androidx.savedstate:savedstate:$savedstateVersion") | ||
| api("androidx.savedstate:savedstate-compose:$savedstateVersion") | ||
| implementation(libs.kotlinStdlib) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicit kotlinStdlib shouldn't be necessary nowadays
compose/ui/ui-test/build.gradle
Outdated
| dependsOn(nativeTest) | ||
| } | ||
|
|
||
| uikitMain { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more uikitMain in the project
| dependsOn(nativeTest) | ||
| } | ||
|
|
||
| macosMain { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such file in jb-main at this location, please remove it.
Context: this module is not published from fork anymore and we don't have a stub for it
| dependsOn(commonTest) | ||
| dependencies { | ||
| implementation(project(":kruth:kruth")) | ||
| implementation(libs.kotlinTest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already in dependencies. See commonTest
| dependsOn(commonTest) | ||
| dependencies { | ||
| implementation(project(":kruth:kruth")) | ||
| implementation(libs.kotlinTest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already in dependencies. See commonTest
| Desktop("Jvm"), | ||
| AndroidDebug("Android"), | ||
| AndroidRelease("Android"), | ||
| Android("Android"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing this Android split? Is it intentional?
| } | ||
| } | ||
|
|
||
| jvmMain { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't androidMain depend on this too?
99b6df1 to
8764eec
Compare
Because it sample_font.ttf changed in AOSP, and we would have to adapt test for it
8764eec to
1953f03
Compare
@JvmSuppressWildcards isn't in the expect, and not in jb-main
``` > Task :lifecycle:lifecycle-runtime:compileTestKotlinWasmJs FAILED e: file:///D:/Work/2/compose-multiplatform-core/lifecycle/lifecycle-runtime/src/wasmJsTest/kotlin/androidx/lifecycle/runLifecycleTest.wasmJs.kt:24:5 Return type mismatch: expected 'JsPromiseInterfaceForTesting', actual 'Promise<JsAny?>'. e: file:///D:/Work/2/compose-multiplatform-core/lifecycle/lifecycle-runtime/src/webTest/kotlin/androidx/lifecycle/runLifecycleTest.web.kt:23:8 Conflicting overloads: actual fun runLifecycleTest(block: suspend CoroutineScope.() -> Unit): JsPromiseInterfaceForTesting ``` - runLifecycleTest.wasmJs.kt was added in `integration` - but isn't compilable - jb-main doesn't use this file
Only Android is supported by new AGP
1425c08 to
49cc6a5
Compare
77f2e61 to
7e5475a
Compare
To avoid combining multiple changes Plan: - merge to jb-main - sync dependencies with AOSP in jb-main(TODO create task)
7e5475a to
f767dc1
Compare
Release Notes
N/A