@@ -20,16 +20,19 @@ import org.jetbrains.androidx.build.JetBrainsPublication.projectPathToLibrary
2020import java.io.Serializable
2121import org.gradle.api.Project
2222
23+ // TODO(buildsrc) restore stubs publication, ideally both in integration and jb-main
24+
2325/* *
2426 * Library groups and associated with them projects and targets that are published when
2527 * building the JetBrains fork of AOSP.
2628 */
2729object JetBrainsPublication {
2830 val libraryToComponents = mapOf (
2931 " COMPOSE" to listOf (
32+ // STUBS
3033 // publish for compatibility
31- ComposeComponent (" :annotation:annotation" , supportedPlatforms = ComposePlatforms .ALL - ComposePlatforms .ANDROID ),
32- ComposeComponent (" :collection:collection" , supportedPlatforms = ComposePlatforms .ALL - ComposePlatforms .ANDROID ),
34+ // ComposeComponent(":annotation:annotation", supportedPlatforms = ComposePlatforms.ALL - ComposePlatforms.ANDROID),
35+ // ComposeComponent(":collection:collection", supportedPlatforms = ComposePlatforms.ALL - ComposePlatforms.ANDROID),
3336
3437 ComposeComponent (" :compose:animation:animation" ),
3538 ComposeComponent (" :compose:animation:animation-core" ),
@@ -38,8 +41,9 @@ object JetBrainsPublication {
3841 ComposeComponent (" :compose:foundation:foundation-layout" ),
3942 ComposeComponent (" :compose:material:material" ),
4043 ComposeComponent (" :compose:material:material-ripple" ),
41- ComposeComponent (" :compose:runtime:runtime" , supportedPlatforms = ComposePlatforms .ALL ),
42- ComposeComponent (" :compose:runtime:runtime-saveable" , supportedPlatforms = ComposePlatforms .ALL ),
44+ // STUBS
45+ // ComposeComponent(":compose:runtime:runtime", supportedPlatforms = ComposePlatforms.ALL),
46+ // ComposeComponent(":compose:runtime:runtime-saveable", supportedPlatforms = ComposePlatforms.ALL),
4347 ComposeComponent (" :compose:ui:ui" ),
4448 ComposeComponent (" :compose:ui:ui-geometry" ),
4549 ComposeComponent (
@@ -94,22 +98,23 @@ object JetBrainsPublication {
9498 ComposeComponent (" :compose:material3:adaptive:adaptive-navigation" ),
9599 ),
96100 " LIFECYCLE" to listOf (
97- ComposeComponent (
98- path = " :lifecycle:lifecycle-common" ,
99- // No android target here - jvm artefact will be used for android apps as well
100- supportedPlatforms = ComposePlatforms .ALL_AOSP - ComposePlatforms .ANDROID
101- ),
102- ComposeComponent (
103- path = " :lifecycle:lifecycle-runtime" ,
104- supportedPlatforms = ComposePlatforms .ALL_AOSP
105- ),
106- ComposeComponent (
107- path = " :lifecycle:lifecycle-viewmodel" ,
108- supportedPlatforms = ComposePlatforms .ALL_AOSP
109- ),
110- ComposeComponent (" :lifecycle:lifecycle-viewmodel-savedstate" , supportedPlatforms = ComposePlatforms .ALL_AOSP ),
111- ComposeComponent (" :lifecycle:lifecycle-runtime-compose" , supportedPlatforms = ComposePlatforms .ALL ),
112- ComposeComponent (" :lifecycle:lifecycle-viewmodel-compose" ),
101+ // STUBs
102+ // ComposeComponent(
103+ // path = ":lifecycle:lifecycle-common",
104+ // // No android target here - jvm artefact will be used for android apps as well
105+ // supportedPlatforms = ComposePlatforms.ALL_AOSP - ComposePlatforms.ANDROID
106+ // ),
107+ // ComposeComponent(
108+ // path = ":lifecycle:lifecycle-runtime",
109+ // supportedPlatforms = ComposePlatforms.ALL_AOSP
110+ // ),
111+ // ComposeComponent(
112+ // path = ":lifecycle:lifecycle-viewmodel",
113+ // supportedPlatforms = ComposePlatforms.ALL_AOSP
114+ // ),
115+ // ComposeComponent(":lifecycle:lifecycle-viewmodel-savedstate", supportedPlatforms = ComposePlatforms.ALL_AOSP),
116+ // ComposeComponent(":lifecycle:lifecycle-runtime-compose", supportedPlatforms = ComposePlatforms.ALL),
117+ // ComposeComponent(":lifecycle:lifecycle-viewmodel-compose"),
113118 ),
114119 " NAVIGATION" to listOf (
115120 ComposeComponent (" :navigation:navigation-compose" ),
@@ -123,11 +128,13 @@ object JetBrainsPublication {
123128 ComposeComponent (" :navigationevent:navigationevent-compose" ),
124129 ),
125130 " SAVEDSTATE" to listOf (
126- ComposeComponent (" :savedstate:savedstate" , supportedPlatforms = ComposePlatforms .ALL_AOSP ),
127- ComposeComponent (" :savedstate:savedstate-compose" , supportedPlatforms = ComposePlatforms .ALL ),
131+ // STUBs
132+ // ComposeComponent(":savedstate:savedstate", supportedPlatforms = ComposePlatforms.ALL_AOSP),
133+ // ComposeComponent(":savedstate:savedstate-compose", supportedPlatforms = ComposePlatforms.ALL),
128134 ),
129135 " WINDOW" to listOf (
130- ComposeComponent (" :window:window-core" , supportedPlatforms = ComposePlatforms .ALL_AOSP - ComposePlatforms .WINDOWS_NATIVE ),
136+ // STUBS
137+ // ComposeComponent(":window:window-core", supportedPlatforms = ComposePlatforms.ALL_AOSP - ComposePlatforms.WINDOWS_NATIVE),
131138 ),
132139 )
133140
0 commit comments