Browse Source

Remove submodules and update development guide (#3076)

* Remove submodules since they are not required for development anymore

* Keep only needed scripts in compose directory. Everything else is moved to core repository

* Update README.md in compose development folder

* Change web -> html
pull/3083/head
Nikolai Rykunov 2 years ago committed by GitHub
parent
commit
9e6f5b5a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .gitmodules
  2. 27
      compose/.gitignore
  3. 268
      compose/.idea/codeStyles/Project.xml
  4. 6
      compose/.idea/codeStyles/codeStyleConfig.xml
  5. 6
      compose/.idea/copyright/AndroidCopyright.xml
  6. 8
      compose/.idea/copyright/profiles_settings.xml
  7. 60
      compose/.run/androidx.benchmark.integration-tests.macrobenchmark-target.run.xml
  8. 60
      compose/.run/androidx.compose.integration-tests.demos.run.xml
  9. 60
      compose/.run/androidx.compose.integration-tests.macrobenchmark-target.run.xml
  10. 60
      compose/.run/androidx.compose.material.material.integration-tests.material-catalog.run.xml
  11. 60
      compose/.run/androidx.compose.ui.ui-test-manifest.integration-tests.testapp.run.xml
  12. 60
      compose/.run/androidx.profileinstaller.integration-tests.testapp.run.xml
  13. 60
      compose/.run/androidx.wear.compose.integration-tests.demos.run.xml
  14. 23
      compose/.run/build extended icons.run.xml
  15. 23
      compose/.run/build.run.xml
  16. 23
      compose/.run/run2.run.xml
  17. 23
      compose/.run/run3.run.xml
  18. 23
      compose/.run/runSwing.run.xml
  19. 23
      compose/.run/runVsync.run.xml
  20. 23
      compose/.run/runWindowApi.run.xml
  21. 23
      compose/.run/support_compose_desktop_desktop_samples [run1].run.xml
  22. 23
      compose/.run/test (web).run.xml
  23. 23
      compose/.run/test.run.xml
  24. 103
      compose/README.md
  25. 251
      compose/build.gradle.kts
  26. 12
      compose/buildSrc/build.gradle.kts
  27. 47
      compose/buildSrc/src/main/kotlin/AbstractComposePublishingTask.kt
  28. 9
      compose/buildSrc/src/main/kotlin/ComposeComponent.kt
  29. 94
      compose/buildSrc/src/main/kotlin/ComposePlatforms.kt
  30. 17
      compose/buildSrc/src/main/kotlin/ComposeProperties.kt
  31. 13
      compose/buildSrc/src/main/kotlin/utils.kt
  32. 1
      compose/external/doclava
  33. BIN
      compose/external/noto-fonts/other/NotoSans-Italic.ttf
  34. BIN
      compose/external/noto-fonts/other/NotoSans-Regular.ttf
  35. 1
      compose/frameworks/support
  36. 1
      compose/gradle.properties
  37. 1
      compose/gradlew
  38. 1
      compose/gradlew.bat
  39. 1
      compose/prebuilts/androidx/internal
  40. BIN
      compose/screenshots/studio.png
  41. 7
      compose/scripts/buildNativeDemo
  42. 18
      compose/scripts/clean
  43. 7
      compose/scripts/publish
  44. 7
      compose/scripts/publishExtendedIcons
  45. 7
      compose/scripts/publishExtendedIconsToMavenLocal
  46. 2
      compose/scripts/publishHtmlLibraryToMavenLocal
  47. 7
      compose/scripts/publishToMavenLocal
  48. 7
      compose/scripts/reuploadArtifactsToMavenCentral
  49. 7
      compose/scripts/runGradle
  50. 7
      compose/scripts/testAll
  51. 95
      compose/scripts/testAndroidInEmulator.sh
  52. 98
      compose/scripts/testAndroidUnit.sh
  53. 8
      compose/scripts/testComposeModules
  54. 7
      compose/scripts/testDesktop
  55. 7
      compose/scripts/testRuntimeNative
  56. 7
      compose/scripts/testUIKit
  57. 7
      compose/scripts/testWeb
  58. 17
      compose/settings.gradle.kts

9
.gitmodules vendored

@ -1,9 +0,0 @@
[submodule "compose/frameworks/support"]
path = compose/frameworks/support
url = https://github.com/JetBrains/androidx
[submodule "compose/external/doclava"]
path = compose/external/doclava
url = https://android.googlesource.com/platform/external/doclava
[submodule "compose/prebuilts/androidx/internal"]
path = compose/prebuilts/androidx/internal
url = https://android.googlesource.com/platform/prebuilts/androidx/internal

27
compose/.gitignore vendored

@ -1,27 +0,0 @@
prebuilts/fullsdk-darwin/
prebuilts/fullsdk-linux/
out
*.iml
.gradle
/local.properties
**/.idea/**
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
!**/.idea/codeStyleSettings.xml
!**/.idea/copyright
!**/.idea/codeStyles
!.idea/codeStyles/Project.xml
!.idea/codeStyles/codeStyleConfig.xml
!.idea/copyright/AndroidCopyright.xml
!.idea/copyright/profiles_settings.xml
!.idea/inspectionProfiles/Project_Default.xml
.DS_Store
build/
/captures
.externalNativeBuild
.cxx
*.hprof

268
compose/.idea/codeStyles/Project.xml

@ -1,268 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JavaCodeStyleSettings>
<option name="FIELD_NAME_PREFIX" value="m" />
<option name="STATIC_FIELD_NAME_PREFIX" value="s" />
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" />
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="android" withSubpackages="true" static="true" />
<emptyLine />
<package name="androidx" withSubpackages="true" static="true" />
<emptyLine />
<package name="com.android" withSubpackages="true" static="true" />
<emptyLine />
<package name="dalvik" withSubpackages="true" static="true" />
<emptyLine />
<package name="libcore" withSubpackages="true" static="true" />
<emptyLine />
<package name="com" withSubpackages="true" static="true" />
<emptyLine />
<package name="gov" withSubpackages="true" static="true" />
<emptyLine />
<package name="junit" withSubpackages="true" static="true" />
<emptyLine />
<package name="net" withSubpackages="true" static="true" />
<emptyLine />
<package name="org" withSubpackages="true" static="true" />
<emptyLine />
<package name="java" withSubpackages="true" static="true" />
<emptyLine />
<package name="javax" withSubpackages="true" static="true" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
<emptyLine />
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="androidx" withSubpackages="true" static="false" />
<emptyLine />
<package name="com.android" withSubpackages="true" static="false" />
<emptyLine />
<package name="dalvik" withSubpackages="true" static="false" />
<emptyLine />
<package name="libcore" withSubpackages="true" static="false" />
<emptyLine />
<package name="com" withSubpackages="true" static="false" />
<emptyLine />
<package name="gov" withSubpackages="true" static="false" />
<emptyLine />
<package name="junit" withSubpackages="true" static="false" />
<emptyLine />
<package name="net" withSubpackages="true" static="false" />
<emptyLine />
<package name="org" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
</value>
</option>
<option name="JD_P_AT_EMPTY_LINES" value="false" />
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
<option name="JD_KEEP_EMPTY_PARAMETER" value="false" />
<option name="JD_KEEP_EMPTY_EXCEPTION" value="false" />
<option name="JD_KEEP_EMPTY_RETURN" value="false" />
<option name="JD_PRESERVE_LINE_FEEDS" value="true" />
</JavaCodeStyleSettings>
<JetCodeStyleSettings>
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
<value />
</option>
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="JAVA">
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="ALIGN_MULTILINE_FOR" value="false" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="PREFER_PARAMETERS_WRAP" value="true" />
<option name="METHOD_PARAMETERS_WRAP" value="1" />
<option name="RESOURCE_LIST_WRAP" value="1" />
<option name="EXTENDS_LIST_WRAP" value="1" />
<option name="THROWS_LIST_WRAP" value="1" />
<option name="THROWS_KEYWORD_WRAP" value="1" />
<option name="BINARY_OPERATION_WRAP" value="1" />
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
<option name="TERNARY_OPERATION_WRAP" value="1" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="FOR_STATEMENT_WRAP" value="1" />
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
<option name="ASSIGNMENT_WRAP" value="1" />
<option name="IF_BRACE_FORCE" value="1" />
<option name="DOWHILE_BRACE_FORCE" value="1" />
<option name="WHILE_BRACE_FORCE" value="1" />
<option name="FOR_BRACE_FORCE" value="1" />
<option name="WRAP_LONG_LINES" value="true" />
<option name="WRAP_ON_TYPING" value="1" />
</codeStyleSettings>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="2" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_width</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_height</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_.*</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:width</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:height</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="WRAP_ON_TYPING" value="0" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>

6
compose/.idea/codeStyles/codeStyleConfig.xml

@ -1,6 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
<option name="PREFERRED_PROJECT_CODE_STYLE" value="AndroidStyle" />
</state>
</component>

6
compose/.idea/copyright/AndroidCopyright.xml

@ -1,6 +0,0 @@
<component name="CopyrightManager">
<copyright>
<option name="myName" value="AndroidCopyright" />
<option name="notice" value="Copyright &amp;#36;today.year The Android Open Source Project&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10; http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
</copyright>
</component>

8
compose/.idea/copyright/profiles_settings.xml

@ -1,8 +0,0 @@
<component name="CopyrightManager">
<settings default="AndroidCopyright">
<LanguageOptions name="XML">
<option name="fileTypeOverride" value="3" />
<option name="prefixLines" value="false" />
</LanguageOptions>
</settings>
</component>

60
compose/.run/androidx.benchmark.integration-tests.macrobenchmark-target.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.benchmark.integration-tests.macrobenchmark-target" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.benchmark.integration-tests.macrobenchmark-target" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.compose.integration-tests.demos.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.compose.integration-tests.demos" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android" activateToolWindowBeforeRun="false">
<module name="androidx.compose.integration-tests.demos" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.compose.integration-tests.macrobenchmark-target.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.compose.integration-tests.macrobenchmark-target" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.compose.integration-tests.macrobenchmark-target" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.compose.material.material.integration-tests.material-catalog.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.compose.material.material.integration-tests.material-catalog" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.compose.material.material.integration-tests.material-catalog" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.compose.ui.ui-test-manifest.integration-tests.testapp.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.compose.ui.ui-test-manifest.integration-tests.testapp" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.compose.ui.ui-test-manifest.integration-tests.testapp" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.profileinstaller.integration-tests.testapp.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.profileinstaller.integration-tests.testapp" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.profileinstaller.integration-tests.testapp" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

60
compose/.run/androidx.wear.compose.integration-tests.demos.run.xml

@ -1,60 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidx.wear.compose.integration-tests.demos" type="AndroidRunConfigurationType" factoryName="Android App" folderName="android">
<module name="androidx.wear.compose.integration-tests.demos" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ALL_USERS" value="false" />
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Hybrid>
<Java />
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>

23
compose/.run/build extended icons.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="publish extended icons" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="--max-workers=1 -Pandroidx.compose.multiplatformEnabled=true -Pandroidx.versionExtraCheckEnabled=false -Pandroidx.alternativeProjectUrl=https://github.com/JetBrains/compose-jb -Pandroidx.validateProjectStructure=false" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="publishComposeJbExtendedIcons" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/build.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="publish" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-Pandroidx.compose.multiplatformEnabled=true -Pandroidx.versionExtraCheckEnabled=false -Pandroidx.alternativeProjectUrl=https://github.com/JetBrains/compose-jb -Pandroidx.validateProjectStructure=false" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="publishComposeJb" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/run2.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="run2 (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="run2" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/run3.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="run3 (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="run3" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/runSwing.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="runSwing (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="runSwing" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/runVsync.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="runVsync (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="runVsync" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/runWindowApi.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="runWindowApi (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="runWindowApi" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/support_compose_desktop_desktop_samples [run1].run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="run1 (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/frameworks/support/compose/desktop/desktop/samples" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="run1" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/test (web).run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test (web)" type="GradleRunConfiguration" factoryName="Gradle" folderName="web">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-Pjetbrains.compose.jsCompilerTestsEnabled=true -Pandroidx.compose.multiplatformEnabled=true" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="testComposeJbWeb" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

23
compose/.run/test.run.xml

@ -1,23 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test (desktop)" type="GradleRunConfiguration" factoryName="Gradle" folderName="desktop">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-Pandroidx.compose.multiplatformEnabled=true" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="testComposeJbDesktop" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

103
compose/README.md

@ -1,100 +1,49 @@
![Project in Android Studio](screenshots/studio.png) # Compose Multiplatform Development
Composite build of [Compose-jb sources](https://github.com/JetBrains/androidx) ## Core
## Download submodules after downloading the main project: Compose Multiplatform development is going
```bash in [compose-multiplatform-core](https://github.com/JetBrains/compose-multiplatform-core) repository.
git submodule update --init --recursive There Compose Multiplatform team and contributors adopt Jetpack Compose for iOS, Desktop and Web targets.
```
Set this property to always update submodules on git checkout/pull/reset:
```bash
git config --global submodule.recurse true
```
## General requirements ### [Get started](https://github.com/JetBrains/compose-multiplatform-core/blob/jb-main/MULTIPLATFORM.md)
- Java 11 (should be specified in JAVA_HOME)
- [macOs/Linux] Android SDK downloaded via `./compose/frameworks/support/jbdeps/android-sdk/downloadAndroidSdk`
- [Windows] Android SDK downloaded from Android Studio and specified in ANDROID_SDK_ROOT
- [Optional, macOs] For AppCode IDE, specify environment variable `export ANDROID_SDK_ROOT=[YOUR_PATH]/compose-jb/compose/frameworks/support/jbdeps/android-sdk/darwin` (in ~/.zshrc)
## Developing in IDE ## Skiko
1. Download Android Studio from [the official site](https://developer.android.com/studio/archive) (it is mandatory to use the version, written [here](https://github.com/JetBrains/androidx/blob/jb-main/gradle/libs.versions.toml#L11)). As an alternative you can use IDEA, which is compatible with [this AGP version](https://github.com/JetBrains/androidx/blob/jb-main/gradle/libs.versions.toml#L5), or you can disable Android plugin in IDEA plugins, to develop non-Android targets.
2. [macOs/Linux] Download Android SDK via `./compose/frameworks/support/jbdeps/android-sdk/downloadAndroidSdk`
2. [Windows] Download Android SDK via [Android Studio](https://developer.android.com/studio/intro/update#sdk-manager) and specify it in ANDROID_SDK_ROOT environment variable. Components, their versions and folder structure should be the same as in downloaded via script `./compose/frameworks/support/jbdeps/android-sdk/downloadAndroidSdk` SDK for other platforms.
3. Open `compose/frameworks/support` folder either in Android Studio or in IDEA or in AppCode with KMM plugin.
4. Specify Gradle JVM to use JDK 11 in InteliJ IDEA Preferences (`Build, Execution, Deployment -> Build Tools -> Gradle`)
## Scripts
Publish artifacts to the local directory `out/androidx/build/support_repo/org/jetbrains/compose`:
```
export COMPOSE_CUSTOM_VERSION=0.0.0-custom
./scripts/publish
```
(on Windows it doesn't build at the moment, the issue is in the line `packageInspector(project, project(":compose:ui:ui-inspection")` in `compose/frameworks/support/compose/ui/ui/build.gradle`)
Publish extended icons: Compose Multiplatform uses [Skiko](https://github.com/JetBrains/skiko). A low-level library that hides platform
```bash complexity and provides a simple interface for rendering, event handling, window management, and other features. Skiko
./scripts/publishExtendedIcons uses Skia as graphical API.
```
### Run tests ## Other parts
Run tests for Desktop: - [Gradle Plugin](https://github.com/JetBrains/compose-multiplatform/tree/master/gradle-plugins)
```bash - [IDEA Plugin](https://github.com/JetBrains/compose-multiplatform/tree/master/idea-plugin)
./scripts/testDesktop - [Examples](https://github.com/JetBrains/compose-multiplatform/tree/master/examples)
```
Run tests for Web: ## Publishing
```bash
./scripts/testWeb
```
Run tests for UIKit: Compose Multiplatform libraries can be published to local Maven with the following steps:
```bash
./scripts/testUIKit
```
Run tests for Android: 1. Set `COMPOSE_CUSTOM_VERSION` environment variable
```bash
./scripts/testAndroidUnit.sh
```
```bash
./scripts/testAndroidInEmulator.sh # first run android simulator or connect device
```
### Run samples
Run jvm desktop sample:
```bash
./scripts/runGradle run
```
another jvm desktop samples:
```bash ```bash
./scripts/runGradle run1 run2 run3 runSwing runWindowApi runVsync runLayout export COMPOSE_CUSTOM_VERSION=0.0.0-custom-version
``` ```
Run wasm sample: 2. Publish core libraries
```bash using [instructions](https://github.com/JetBrains/compose-multiplatform-core/blob/jb-main/MULTIPLATFORM.md)
./scripts/runGradle runMppJs 3. Publish Gradle plugin
```
Run native macos sample:
```bash ```bash
./scripts/runGradle runMppMacos ./scripts/publishGradlePluginToMavenLocal
``` ```
## Multiplatform build to mavenLocal 4. Publish additional components
```bash ```bash
export COMPOSE_CUSTOM_VERSION=0.0.0-custom-version &&\ ./scripts/publishComponentsToMavenLocal
./scripts/publishToMavenLocal -Pcompose.platforms=all &&\
./scripts/publishGradlePluginToMavenLocal
``` ```
`-Pcompose.platforms=all` could be replace with comma-separated list of platforms, such as `js,jvm,androidDebug,androidRelease,macosx64,uikit`.
## Publish additional libraries to mavenLocal 5. Publish Compose HTML library
```bash ```bash
export COMPOSE_CUSTOM_VERSION=0.0.0-custom-version &&\ ./scripts/publishHtmlLibraryToMavenLocal
./scripts/publishWebComponentsToMavenLocal &&\
./scripts/publishExtendedIconsToMavenLocal -Pcompose.platforms=all &&\
./scripts/publishComponentsToMavenLocal
``` ```

251
compose/build.gradle.kts

@ -1,251 +0,0 @@
import org.gradle.api.*
import org.jetbrains.compose.internal.publishing.*
plugins {
signing
}
fun Task.dependsOnComposeTask(name: String) {
dependsOn(project.composeBuild?.task(name) ?: return)
}
open class ComposePublishingTask : AbstractComposePublishingTask() {
override fun dependsOnComposeTask(task: String) {
dependsOn(project.composeBuild?.task(task) ?: return)
}
}
val composeProperties = ComposeProperties(project)
val mainComponents =
listOf(
ComposeComponent(":compose:animation:animation"),
ComposeComponent(":compose:animation:animation-core"),
ComposeComponent(":compose:animation:animation-graphics"),
ComposeComponent(":compose:foundation:foundation"),
ComposeComponent(":compose:foundation:foundation-layout"),
ComposeComponent(":compose:material:material"),
ComposeComponent(":compose:material3:material3"),
ComposeComponent(":compose:material:material-icons-core"),
ComposeComponent(":compose:material:material-ripple"),
ComposeComponent(":compose:runtime:runtime", supportedPlatforms = ComposePlatforms.ALL),
ComposeComponent(":compose:runtime:runtime-saveable"),
ComposeComponent(":compose:ui:ui"),
ComposeComponent(":compose:ui:ui-geometry"),
ComposeComponent(":compose:ui:ui-graphics"),
ComposeComponent(":compose:ui:ui-test", supportedPlatforms = ComposePlatforms.JVM_BASED),
ComposeComponent(":compose:ui:ui-test-junit4", supportedPlatforms = ComposePlatforms.JVM_BASED),
ComposeComponent(":compose:ui:ui-text"),
ComposeComponent(":compose:ui:ui-tooling", supportedPlatforms = ComposePlatforms.JVM_BASED),
ComposeComponent(":compose:ui:ui-tooling-data", supportedPlatforms = ComposePlatforms.JVM_BASED),
ComposeComponent(":compose:ui:ui-tooling-preview", supportedPlatforms = ComposePlatforms.JVM_BASED),
ComposeComponent(":compose:ui:ui-unit"),
ComposeComponent(":compose:ui:ui-util"),
)
val iconsComponents =
listOf(
ComposeComponent(":compose:material:material-icons-extended"),
)
fun ComposePublishingTask.mainPublications() {
publish(
":compose:desktop:desktop",
onlyWithPlatforms = setOf(ComposePlatforms.Desktop),
publications = listOf(
"KotlinMultiplatform",
"Jvm",
"Jvmlinux-x64",
"Jvmlinux-arm64",
"Jvmmacos-x64",
"Jvmmacos-arm64",
"Jvmwindows-x64"
)
)
mainComponents.forEach { publishMultiplatform(it) }
}
fun ComposePublishingTask.iconsPublications() {
iconsComponents.forEach { publishMultiplatform(it) }
}
// To show all projects which use `xxx` task, run:
// ./gradlew -p frameworks/support help --task xxx
tasks.register("publishComposeJb", ComposePublishingTask::class) {
repository = "MavenRepository"
mainPublications()
}
tasks.register("publishComposeJbToMavenLocal", ComposePublishingTask::class) {
repository = "MavenLocal"
mainPublications()
}
// separate task that cannot be built in parallel (because it requires too much RAM).
// should be run with "--max-workers=1"
tasks.register("publishComposeJbExtendedIcons", ComposePublishingTask::class) {
repository = "MavenRepository"
iconsPublications()
}
tasks.register("publishComposeJbExtendedIconsToMavenLocal", ComposePublishingTask::class) {
repository = "MavenLocal"
iconsPublications()
}
tasks.register("testComposeJbDesktop") {
dependsOnComposeTask(":compose:desktop:desktop:jvmTest")
dependsOnComposeTask(":compose:animation:animation:desktopTest")
dependsOnComposeTask(":compose:animation:animation-core:desktopTest")
dependsOnComposeTask(":compose:ui:ui:desktopTest")
dependsOnComposeTask(":compose:ui:ui-graphics:desktopTest")
dependsOnComposeTask(":compose:ui:ui-text:desktopTest")
dependsOnComposeTask(":compose:ui:ui-test-junit4:desktopTest")
dependsOnComposeTask(":compose:foundation:foundation:desktopTest")
dependsOnComposeTask(":compose:foundation:foundation-layout:desktopTest")
dependsOnComposeTask(":compose:material:material:desktopTest")
dependsOnComposeTask(":compose:material:material-ripple:desktopTest")
dependsOnComposeTask(":compose:runtime:runtime:desktopTest")
dependsOnComposeTask(":compose:runtime:runtime-saveable:desktopTest")
}
tasks.register("testComposeJbWeb") {
dependsOnComposeTask(":compose:runtime:runtime:jsTest")
}
tasks.register("testUIKit") {
val subtaskName = if (System.getProperty("os.arch") == "aarch64") "uikitSimArm64Test" else "uikitX64Test"
dependsOnComposeTask(":compose:ui:ui-text:$subtaskName")
dependsOnComposeTask(":compose:ui:ui:$subtaskName")
}
tasks.register("buildNativeDemo") {
dependsOnComposeTask(":compose:native:demo:assemble")
}
tasks.register("testRuntimeNative") {
dependsOnComposeTask(":compose:runtime:runtime:macosX64Test")
}
tasks.register("testComposeModules") { // used in https://github.com/JetBrains/androidx/tree/jb-main/.github/workflows
// TODO: download robolectrict to run ui:ui:test
// dependsOnComposeTask(":compose:ui:ui:test")
dependsOnComposeTask(":compose:ui:ui-graphics:test")
dependsOnComposeTask(":compose:ui:ui-geometry:test")
dependsOnComposeTask(":compose:ui:ui-unit:test")
dependsOnComposeTask(":compose:ui:ui-util:test")
dependsOnComposeTask(":compose:runtime:runtime:test")
dependsOnComposeTask(":compose:runtime:runtime-saveable:test")
dependsOnComposeTask(":compose:material:material:test")
dependsOnComposeTask(":compose:material:material-ripple:test")
dependsOnComposeTask(":compose:foundation:foundation:test")
dependsOnComposeTask(":compose:animation:animation:test")
dependsOnComposeTask(":compose:animation:animation-core:test")
dependsOnComposeTask(":compose:animation:animation-core:test")
// TODO: enable ui:ui-text:test
// dependsOnComposeTask(":compose:ui:ui-text:test")
// compose/out/androidx/compose/ui/ui-text/build/intermediates/tmp/manifest/test/debug/tempFile1ProcessTestManifest10207049054096217572.xml Error:
// android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.
}
tasks.register("run") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:run")
}
for (i in 1..3) {
tasks.register("run$i") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:run$i")
}
}
tasks.register("runSwing") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runSwing")
}
tasks.register("runWindowApi") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runWindowApi")
}
tasks.register("runVsync") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runVsync")
}
tasks.register("runLayout") {
dependsOnComposeTask(":compose:desktop:desktop:desktop-samples:runLayout")
}
tasks.register("runMppJs") {
dependsOnComposeTask(":compose:mpp:demo:jsRun")
}
tasks.register("runMppMacos") {
dependsOnComposeTask(":compose:mpp:demo:runDebugExecutableMacosX64")
}
val mavenCentral = MavenCentralProperties(project)
if (mavenCentral.signArtifacts) {
signing.useInMemoryPgpKeys(
mavenCentral.signArtifactsKey.get(),
mavenCentral.signArtifactsPassword.get()
)
}
val publishingDir = project.layout.buildDirectory.dir("publishing")
val originalArtifactsRoot = publishingDir.map { it.dir("original") }
val preparedArtifactsRoot = publishingDir.map { it.dir("prepared") }
val modulesFile = publishingDir.map { it.file("modules.txt") }
val findComposeModules by tasks.registering(FindModulesInSpaceTask::class) {
requestedGroupId.set("org.jetbrains.compose")
requestedVersion.set(mavenCentral.version)
spaceInstanceUrl.set("https://public.jetbrains.space")
spaceClientId.set(System.getenv("COMPOSE_REPO_USERNAME") ?: "")
spaceClientSecret.set(System.getenv("COMPOSE_REPO_KEY") ?: "")
spaceProjectId.set(System.getenv("COMPOSE_DEV_REPO_PROJECT_ID") ?: "")
spaceRepoId.set(System.getenv("COMPOSE_DEV_REPO_REPO_ID") ?: "")
modulesTxtFile.set(modulesFile)
}
val downloadArtifactsFromComposeDev by tasks.registering(DownloadFromSpaceMavenRepoTask::class) {
dependsOn(findComposeModules)
modulesToDownload.set(project.provider { readComposeModules(modulesFile, originalArtifactsRoot) })
spaceRepoUrl.set("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
val fixModulesBeforePublishing by tasks.registering(FixModulesBeforePublishingTask::class) {
dependsOn(downloadArtifactsFromComposeDev)
inputRepoDir.set(originalArtifactsRoot)
outputRepoDir.set(preparedArtifactsRoot)
}
val reuploadArtifactsToMavenCentral by tasks.registering(UploadToSonatypeTask::class) {
dependsOn(fixModulesBeforePublishing)
version.set(mavenCentral.version)
modulesToUpload.set(project.provider { readComposeModules(modulesFile, preparedArtifactsRoot) })
sonatypeServer.set("https://oss.sonatype.org")
user.set(mavenCentral.user)
password.set(mavenCentral.password)
autoCommitOnSuccess.set(mavenCentral.autoCommitOnSuccess)
stagingProfileName.set("org.jetbrains.compose")
}
fun readComposeModules(
modulesFile: Provider<out FileSystemLocation>,
repoRoot: Provider<out FileSystemLocation>
): List<ModuleToUpload> =
modulesFile.get().asFile.readLines()
.filter { it.isNotBlank() }
.map { line ->
val (group, artifact, version) = line.split(":")
ModuleToUpload(
groupId = group,
artifactId = artifact,
version = version,
localDir = repoRoot.get().asFile.resolve("$group/$artifact/$version")
)
}

12
compose/buildSrc/build.gradle.kts

@ -1,12 +0,0 @@
plugins {
`kotlin-dsl`
}
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
compileOnly(gradleApi())
}

47
compose/buildSrc/src/main/kotlin/AbstractComposePublishingTask.kt

@ -1,47 +0,0 @@
/*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
import org.gradle.api.*
import org.gradle.api.tasks.Internal
abstract class AbstractComposePublishingTask : DefaultTask() {
@get:Internal
lateinit var repository: String
private val composeProperties by lazy {
ComposeProperties(project)
}
private val isOelPublication: Boolean by lazy {
composeProperties.isOelPublication
}
private val targetPlatforms: Set<ComposePlatforms> by lazy {
composeProperties.targetPlatforms
}
abstract fun dependsOnComposeTask(task: String)
fun publish(project: String, publications: Collection<String>) {
for (publication in publications) {
dependsOnComposeTask("$project:publish${publication}PublicationTo$repository")
}
}
fun publish(project: String, publications: Collection<String>, onlyWithPlatforms: Set<ComposePlatforms>) {
if (onlyWithPlatforms.any { it in targetPlatforms }) {
publish(project, publications)
}
}
fun publishMultiplatform(component: ComposeComponent) {
dependsOnComposeTask("${component.path}:publish${ComposePlatforms.KotlinMultiplatform.name}PublicationTo$repository")
for (platform in targetPlatforms) {
if (platform !in component.supportedPlatforms) continue
if (platform in ComposePlatforms.ANDROID && isOelPublication) continue
dependsOnComposeTask("${component.path}:publish${platform.name}PublicationTo$repository")
}
}
}

9
compose/buildSrc/src/main/kotlin/ComposeComponent.kt

@ -1,9 +0,0 @@
/*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
data class ComposeComponent(
val path: String,
val supportedPlatforms: Set<ComposePlatforms> = ComposePlatforms.ALL - ComposePlatforms.NO_SKIKO
)

94
compose/buildSrc/src/main/kotlin/ComposePlatforms.kt

@ -1,94 +0,0 @@
/*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
import java.util.*
enum class ComposePlatforms(vararg val alternativeNames: String) {
KotlinMultiplatform("Common"),
Desktop("Jvm"),
AndroidDebug("Android"),
AndroidRelease("Android"),
Js("Web"),
MacosX64("Macos"),
MacosArm64("Macos"),
UikitX64("UiKit"),
UikitArm64("UiKit"),
UikitSimArm64("UiKit"),
TvosArm64("TvOs"),
TvosX64("TvOs"),
TvosSimulatorArm64("TvOs"),
WatchosArm64("WatchOs"),
WatchosArm32("WatchOs"),
WatchosX86("WatchOs"),
WatchosX64("WatchOs"),
WatchosSimulatorArm64("WatchOs"),
LinuxX64("Linux"),
// LinuxArm64("Linux"), // No coroutines for linuxArm64 yet
MingwX64("Mingw"),
;
fun matches(nameCandidate: String): Boolean =
listOf(name, *alternativeNames).any { it.equals(nameCandidate, ignoreCase = true) }
companion object {
val ALL = EnumSet.allOf(ComposePlatforms::class.java)
val JVM_BASED = EnumSet.of(
ComposePlatforms.Desktop,
ComposePlatforms.AndroidDebug,
ComposePlatforms.AndroidRelease
)
val ANDROID = EnumSet.of(
ComposePlatforms.AndroidDebug,
ComposePlatforms.AndroidRelease
)
// These platforms are not supported by skiko yet
val NO_SKIKO = EnumSet.of(
ComposePlatforms.TvosArm64,
ComposePlatforms.TvosX64,
ComposePlatforms.TvosSimulatorArm64,
ComposePlatforms.WatchosArm64,
ComposePlatforms.WatchosArm32,
ComposePlatforms.WatchosX86,
ComposePlatforms.WatchosX64,
ComposePlatforms.WatchosSimulatorArm64,
ComposePlatforms.LinuxX64,
// ComposePlatforms.LinuxArm64, // No coroutines for linuxArm64 yet
ComposePlatforms.MingwX64,
)
/**
* Maps comma separated list of platforms into a set of [ComposePlatforms]
* The function is case- and whitespace-insensetive.
*
* Special value: all
*/
fun parse(platformsNames: String): Set<ComposePlatforms> {
val platforms = EnumSet.noneOf(ComposePlatforms::class.java)
val unknownNames = arrayListOf<String>()
for (name in platformsNames.split(",").map { it.trim() }) {
if (name.equals("all", ignoreCase = true)) {
return ALL
}
val matchingPlatforms = ALL.filter { it.matches(name) }
if (matchingPlatforms.isNotEmpty()) {
platforms.addAll(matchingPlatforms)
} else {
unknownNames.add(name)
}
}
if (unknownNames.isNotEmpty()) {
error("Unknown platforms: ${unknownNames.joinToString(", ")}")
}
return platforms
}
}
}

17
compose/buildSrc/src/main/kotlin/ComposeProperties.kt

@ -1,17 +0,0 @@
/*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
import org.gradle.api.*
class ComposeProperties(private val myProject: Project) {
val isOelPublication: Boolean
get() = myProject.findProperty("oel.publication") != "false"
val targetPlatforms: Set<ComposePlatforms>
get() {
val requestedPlatforms = myProject.findProperty("compose.platforms")?.toString() ?: "jvm, android"
return ComposePlatforms.parse(requestedPlatforms)
}
}

13
compose/buildSrc/src/main/kotlin/utils.kt

@ -1,13 +0,0 @@
/*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
import org.gradle.api.Project
import org.gradle.api.initialization.IncludedBuild
val isInIdea: Boolean
get() = System.getProperty("idea.active") == "true"
val Project.composeBuild: IncludedBuild?
get() = if (isInIdea) null else gradle.includedBuild("support")

1
compose/external/doclava vendored

@ -1 +0,0 @@
Subproject commit 7b46b5a466cda32b8fbf0c5015c2b3d8127488c2

BIN
compose/external/noto-fonts/other/NotoSans-Italic.ttf vendored

Binary file not shown.

BIN
compose/external/noto-fonts/other/NotoSans-Regular.ttf vendored

Binary file not shown.

1
compose/frameworks/support

@ -1 +0,0 @@
Subproject commit c7b278c3bd9172f788f8f981693b15bc1f24e300

1
compose/gradle.properties

@ -1 +0,0 @@
org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true

1
compose/gradlew vendored

@ -1 +0,0 @@
./frameworks/support/gradlew "$@"

1
compose/gradlew.bat vendored

@ -1 +0,0 @@
frameworks/support/gradlew.bat %*

1
compose/prebuilts/androidx/internal

@ -1 +0,0 @@
Subproject commit c93d857e3c972842489c8115fd6d3f2ff8e404e1

BIN
compose/screenshots/studio.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

7
compose/scripts/buildNativeDemo

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew buildNativeDemo $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

18
compose/scripts/clean

@ -1,18 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ../frameworks/support
echo "--------------------------------------------------------"
echo "This command will remove those files added to .gitignore"
git clean -ndX
read -p "Do you want to remove this files? (y/n) " yn
case $yn in
y ) git clean -fdX;;
n ) exit;;
* ) exit 1;;
esac
popd

7
compose/scripts/publish

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew publishComposeJb $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/publishExtendedIcons

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew publishComposeJbExtendedIcons $COMPOSE_DEFAULT_GRADLE_ARGS --max-workers=1 "$@" || exit 1
popd

7
compose/scripts/publishExtendedIconsToMavenLocal

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew publishComposeJbExtendedIconsToMavenLocal $COMPOSE_DEFAULT_GRADLE_ARGS --max-workers=1 "$@" || exit 1
popd

2
compose/scripts/publishWebComponentsToMavenLocal → compose/scripts/publishHtmlLibraryToMavenLocal

@ -7,7 +7,7 @@ if [[ -z "$COMPOSE_CUSTOM_VERSION" ]]; then
exit 1 exit 1
fi fi
pushd ../../web pushd ../../html
./gradlew publishToMavenLocal -Pcompose.version="$COMPOSE_CUSTOM_VERSION" || exit 1 ./gradlew publishToMavenLocal -Pcompose.version="$COMPOSE_CUSTOM_VERSION" || exit 1
popd popd

7
compose/scripts/publishToMavenLocal

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew publishComposeJbToMavenLocal $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/reuploadArtifactsToMavenCentral

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew reuploadArtifactsToMavenCentral $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/runGradle

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/testAll

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew testComposeJbDesktop testComposeJbWeb $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

95
compose/scripts/testAndroidInEmulator.sh

@ -1,95 +0,0 @@
#!/bin/bash
echo "First need to start android emulator or connect device"
cd "$(dirname "$0")"
cd ../frameworks/support
select CURRENT_TASK in \
":compose:animation:animation-core:animation-core-samples:connectedDebugAndroidTest" \
":compose:animation:animation-core:connectedDebugAndroidTest" \
":compose:animation:animation-graphics:animation-graphics-samples:connectedDebugAndroidTest" \
":compose:animation:animation-graphics:connectedDebugAndroidTest" \
":compose:animation:animation:animation-samples:connectedDebugAndroidTest" \
":compose:animation:animation:connectedDebugAndroidTest" \
":compose:animation:animation:integration-tests:animation-demos:connectedDebugAndroidTest" \
":compose:benchmark-utils:connectedDebugAndroidTest" \
":compose:compiler:compiler-hosted:integration-tests:connectedDebugAndroidTest" \
":compose:foundation:foundation-layout:connectedDebugAndroidTest" \
":compose:foundation:foundation-layout:foundation-layout-samples:connectedDebugAndroidTest" \
":compose:foundation:foundation-layout:integration-tests:foundation-layout-demos:connectedDebugAndroidTest" \
":compose:foundation:foundation:connectedDebugAndroidTest" \
":compose:foundation:foundation:foundation-samples:connectedDebugAndroidTest" \
":compose:foundation:foundation:integration-tests:foundation-demos:connectedDebugAndroidTest" \
":compose:integration-tests:demos:common:connectedDebugAndroidTest" \
":compose:integration-tests:demos:connectedDebugAndroidTest" \
":compose:integration-tests:docs-snippets:connectedDebugAndroidTest" \
":compose:integration-tests:macrobenchmark-target:connectedDebugAndroidTest" \
":compose:integration-tests:macrobenchmark:connectedDebugAndroidTest" \
":compose:integration-tests:material-catalog:connectedDebugAndroidTest" \
":compose:material3:material3-window-size-class:connectedDebugAndroidTest" \
":compose:material3:material3-window-size-class:material3-window-size-class-samples:connectedDebugAndroidTest" \
":compose:material3:material3:connectedDebugAndroidTest" \
":compose:material3:material3:integration-tests:material3-catalog:connectedDebugAndroidTest" \
":compose:material3:material3:integration-tests:material3-demos:connectedDebugAndroidTest" \
":compose:material3:material3:material3-samples:connectedDebugAndroidTest" \
":compose:material:material-icons-core:connectedDebugAndroidTest" \
":compose:material:material-icons-core:material-icons-core-samples:connectedDebugAndroidTest" \
":compose:material:material-icons-extended-filled:connectedDebugAndroidTest" \
":compose:material:material-icons-extended-outlined:connectedDebugAndroidTest" \
":compose:material:material-icons-extended-rounded:connectedDebugAndroidTest" \
":compose:material:material-icons-extended-sharp:connectedDebugAndroidTest" \
":compose:material:material-icons-extended-twotone:connectedDebugAndroidTest" \
":compose:material:material-icons-extended:connectedDebugAndroidTest" \
":compose:material:material-ripple:connectedDebugAndroidTest" \
":compose:material:material:connectedDebugAndroidTest" \
":compose:material:material:integration-tests:material-catalog:connectedDebugAndroidTest" \
":compose:material:material:integration-tests:material-demos:connectedDebugAndroidTest" \
":compose:material:material:material-samples:connectedDebugAndroidTest" \
":compose:runtime:runtime-livedata:connectedDebugAndroidTest" \
":compose:runtime:runtime-livedata:runtime-livedata-samples:connectedDebugAndroidTest" \
":compose:runtime:runtime-rxjava2:connectedDebugAndroidTest" \
":compose:runtime:runtime-rxjava2:runtime-rxjava2-samples:connectedDebugAndroidTest" \
":compose:runtime:runtime-rxjava3:connectedDebugAndroidTest" \
":compose:runtime:runtime-rxjava3:runtime-rxjava3-samples:connectedDebugAndroidTest" \
":compose:runtime:runtime-saveable:connectedDebugAndroidTest" \
":compose:runtime:runtime-saveable:runtime-saveable-samples:connectedDebugAndroidTest" \
":compose:runtime:runtime:connectedDebugAndroidTest" \
":compose:runtime:runtime:integration-tests:connectedDebugAndroidTest" \
":compose:runtime:runtime:runtime-samples:connectedDebugAndroidTest" \
":compose:test-utils:connectedDebugAndroidTest" \
":compose:ui:ui-android-stubs:connectedDebugAndroidTest" \
":compose:ui:ui-geometry:connectedDebugAndroidTest" \
":compose:ui:ui-graphics:connectedDebugAndroidTest" \
":compose:ui:ui-graphics:ui-graphics-benchmark:test:connectedDebugAndroidTest" \
":compose:ui:ui-graphics:ui-graphics-samples:connectedDebugAndroidTest" \
":compose:ui:ui-inspection:connectedDebugAndroidTest" \
":compose:ui:ui-test-font:connectedDebugAndroidTest" \
":compose:ui:ui-test-junit4:connectedDebugAndroidTest" \
":compose:ui:ui-test-manifest:connectedDebugAndroidTest" \
":compose:ui:ui-test-manifest:integration-tests:testapp:connectedDebugAndroidTest" \
":compose:ui:ui-test:connectedDebugAndroidTest" \
":compose:ui:ui-test:ui-test-samples:connectedDebugAndroidTest" \
":compose:ui:ui-text-google-fonts:connectedDebugAndroidTest" \
":compose:ui:ui-text:connectedDebugAndroidTest" \
":compose:ui:ui-text:ui-text-samples:connectedDebugAndroidTest" \
":compose:ui:ui-tooling-data:connectedDebugAndroidTest" \
":compose:ui:ui-tooling-preview:connectedDebugAndroidTest" \
":compose:ui:ui-tooling:connectedDebugAndroidTest" \
":compose:ui:ui-unit:connectedDebugAndroidTest" \
":compose:ui:ui-unit:ui-unit-samples:connectedDebugAndroidTest" \
":compose:ui:ui-util:connectedDebugAndroidTest" \
":compose:ui:ui-viewbinding:connectedDebugAndroidTest" \
":compose:ui:ui-viewbinding:ui-viewbinding-samples:connectedDebugAndroidTest" \
":compose:ui:ui:connectedDebugAndroidTest" \
":compose:ui:ui:integration-tests:ui-demos:connectedDebugAndroidTest" \
":compose:ui:ui:ui-samples:connectedDebugAndroidTest"
do
../../gradlew -i --no-daemon \
-Pandroidx.compose.multiplatformEnabled=false \
-Pjetbrains.compose.jsCompilerTestsEnabled=false \
-Pandroidx.validateProjectStructure=false \
-Pkotlin.compiler.execution.strategy="in-process" \
$CURRENT_TASK
break
done

98
compose/scripts/testAndroidUnit.sh

@ -1,98 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
cd ../frameworks/support
../../gradlew --no-daemon \
-Pandroidx.compose.multiplatformEnabled=false \
-Pjetbrains.compose.jsCompilerTestsEnabled=false \
-Pandroidx.validateProjectStructure=false \
-Pkotlin.compiler.execution.strategy="in-process" \
:compose:animation:animation-core:animation-core-benchmark:testDebugUnitTest \
:compose:animation:animation-core:animation-core-samples:testDebugUnitTest \
:compose:animation:animation-core:testDebugUnitTest \
:compose:animation:animation-graphics:animation-graphics-samples:testDebugUnitTest \
:compose:animation:animation-graphics:testDebugUnitTest \
:compose:animation:animation:animation-samples:testDebugUnitTest \
:compose:animation:animation:integration-tests:animation-demos:testDebugUnitTest \
:compose:animation:animation:testDebugUnitTest \
:compose:benchmark-utils:benchmark-utils-benchmark:testDebugUnitTest \
:compose:benchmark-utils:testDebugUnitTest \
:compose:foundation:foundation-benchmark:testDebugUnitTest \
:compose:foundation:foundation-layout:foundation-layout-benchmark:testDebugUnitTest \
:compose:foundation:foundation-layout:foundation-layout-samples:testDebugUnitTest \
:compose:foundation:foundation-layout:integration-tests:foundation-layout-demos:testDebugUnitTest \
:compose:foundation:foundation-layout:testDebugUnitTest \
:compose:foundation:foundation:foundation-samples:testDebugUnitTest \
:compose:foundation:foundation:integration-tests:foundation-demos:testDebugUnitTest \
:compose:foundation:foundation:testDebugUnitTest \
:compose:integration-tests:demos:common:testDebugUnitTest \
:compose:integration-tests:demos:testDebugUnitTest \
:compose:integration-tests:docs-snippets:testDebugUnitTest \
:compose:integration-tests:macrobenchmark-target:testDebugUnitTest \
:compose:integration-tests:macrobenchmark:testDebugUnitTest \
:compose:integration-tests:material-catalog:testDebugUnitTest \
:compose:material3:material3-window-size-class:material3-window-size-class-samples:testDebugUnitTest \
:compose:material3:material3-window-size-class:testDebugUnitTest \
:compose:material3:material3:integration-tests:material3-catalog:testDebugUnitTest \
:compose:material3:material3:integration-tests:material3-demos:testDebugUnitTest \
:compose:material3:material3:material3-samples:testDebugUnitTest \
:compose:material3:material3:testDebugUnitTest \
:compose:material:material-benchmark:testDebugUnitTest \
:compose:material:material-icons-core:material-icons-core-samples:testDebugUnitTest \
:compose:material:material-icons-core:testDebugUnitTest \
:compose:material:material-icons-extended-filled:testDebugUnitTest \
:compose:material:material-icons-extended-outlined:testDebugUnitTest \
:compose:material:material-icons-extended-rounded:testDebugUnitTest \
:compose:material:material-icons-extended-sharp:testDebugUnitTest \
:compose:material:material-icons-extended-twotone:testDebugUnitTest \
:compose:material:material-icons-extended:testDebugUnitTest \
:compose:material:material-ripple:testDebugUnitTest \
:compose:material:material:integration-tests:material-catalog:testDebugUnitTest \
:compose:material:material:integration-tests:material-demos:testDebugUnitTest \
:compose:material:material:material-samples:testDebugUnitTest \
:compose:material:material:testDebugUnitTest \
:compose:runtime:runtime-livedata:runtime-livedata-samples:testDebugUnitTest \
:compose:runtime:runtime-livedata:testDebugUnitTest \
:compose:runtime:runtime-rxjava2:runtime-rxjava2-samples:testDebugUnitTest \
:compose:runtime:runtime-rxjava2:testDebugUnitTest \
:compose:runtime:runtime-rxjava3:runtime-rxjava3-samples:testDebugUnitTest \
:compose:runtime:runtime-rxjava3:testDebugUnitTest \
:compose:runtime:runtime-saveable:runtime-saveable-samples:testDebugUnitTest \
:compose:runtime:runtime-saveable:testDebugUnitTest \
:compose:runtime:runtime:benchmark:testDebugUnitTest \
:compose:runtime:runtime:integration-tests:testDebugUnitTest \
:compose:runtime:runtime:runtime-samples:testDebugUnitTest \
:compose:runtime:runtime:testDebugUnitTest \
:compose:test-utils:testDebugUnitTest \
:compose:ui:ui-android-stubs:testDebugUnitTest \
:compose:ui:ui-benchmark:testDebugUnitTest \
:compose:ui:ui-geometry:testDebugUnitTest \
:compose:ui:ui-graphics:testDebugUnitTest \
:compose:ui:ui-graphics:ui-graphics-benchmark:test:testDebugUnitTest \
:compose:ui:ui-graphics:ui-graphics-benchmark:testDebugUnitTest \
:compose:ui:ui-graphics:ui-graphics-samples:testDebugUnitTest \
:compose:ui:ui-inspection:testDebugUnitTest \
:compose:ui:ui-test-font:testDebugUnitTest \
:compose:ui:ui-test-manifest:integration-tests:testapp:testDebugUnitTest \
:compose:ui:ui-test-manifest:testDebugUnitTest \
:compose:ui:ui-test:ui-test-samples:testDebugUnitTest \
:compose:ui:ui-text-google-fonts:testDebugUnitTest \
:compose:ui:ui-text:testDebugUnitTest \
:compose:ui:ui-text:ui-text-benchmark:testDebugUnitTest \
:compose:ui:ui-text:ui-text-samples:testDebugUnitTest \
:compose:ui:ui-tooling-data:testDebugUnitTest \
:compose:ui:ui-tooling-preview:testDebugUnitTest \
:compose:ui:ui-tooling:testDebugUnitTest \
:compose:ui:ui-unit:testDebugUnitTest \
:compose:ui:ui-unit:ui-unit-samples:testDebugUnitTest \
:compose:ui:ui-util:testDebugUnitTest \
:compose:ui:ui-viewbinding:testDebugUnitTest \
:compose:ui:ui-viewbinding:ui-viewbinding-samples:testDebugUnitTest \
:compose:ui:ui:integration-tests:ui-demos:testDebugUnitTest \
:compose:ui:ui:ui-samples:testDebugUnitTest
# :compose:compiler:compiler-hosted:integration-tests:testDebugUnitTest \ TODO Compile with errors
# :compose:ui:ui:testDebugUnitTest \ TODO missing .robolectric
# :compose:ui:ui-test-junit4:testDebugUnitTest \ TODO missing robolectric
# :compose:ui:ui-test:testDebugUnitTest \ TODO missing robolectric

8
compose/scripts/testComposeModules

@ -1,8 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
# used in https://github.com/JetBrains/androidx/tree/jb-main/.github/workflows
./gradlew testComposeModules testComposeJbDesktop $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/testDesktop

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew testComposeJbDesktop $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/testRuntimeNative

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew testRuntimeNative $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/testUIKit

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew testUIKit $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

7
compose/scripts/testWeb

@ -1,7 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")"
pushd ..
./gradlew testComposeJbWeb $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

17
compose/settings.gradle.kts

@ -1,17 +0,0 @@
pluginManagement {
buildscript {
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/internal")
maven("https://maven.pkg.jetbrains.space/public/p/space/maven")
}
dependencies {
val buildHelpersVersion = System.getProperty("BUILD_HELPERS_VERSION") ?: "0.1.16"
classpath("org.jetbrains.compose.internal.build-helpers:publishing:$buildHelpersVersion")
}
}
}
if (System.getProperty("idea.active") != "true") {
includeBuild("frameworks/support")
}
Loading…
Cancel
Save