Browse Source

Move examples to V2 Source Set Layout (#2765)

pull/2786/head
Sebastian Aigner 2 years ago committed by GitHub
parent
commit
e34f9c93da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      experimental/examples/chat-mpp/androidApp/src/androidMain/AndroidManifest.xml
  2. 0
      experimental/examples/chat-mpp/androidApp/src/androidMain/kotlin/MainActivity.kt
  3. 0
      experimental/examples/chat-mpp/androidApp/src/androidMain/res/values/strings.xml
  4. 3
      experimental/examples/chat-mpp/gradle.properties
  5. 2
      experimental/examples/chat-mpp/shared/build.gradle.kts
  6. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/AndroidManifest.xml
  7. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/assets/data/EditorView.kt
  8. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/kotlin/org/jetbrains/codeviewer/MainActivity.kt
  9. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/res/drawable/ic_launcher_foreground.xml
  10. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml
  11. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml
  12. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/res/values/ic_launcher_background.xml
  13. 0
      experimental/examples/codeviewer/androidApp/src/androidMain/res/values/strings.xml
  14. 3
      experimental/examples/codeviewer/gradle.properties
  15. 0
      experimental/examples/falling-balls-mpp/androidApp/src/androidMain/AndroidManifest.xml
  16. 0
      experimental/examples/falling-balls-mpp/androidApp/src/androidMain/kotlin/org/jetbrains/fallingballs/MainActivity.kt
  17. 0
      experimental/examples/falling-balls-mpp/androidApp/src/androidMain/res/values/strings.xml
  18. 3
      experimental/examples/falling-balls-mpp/gradle.properties
  19. 2
      experimental/examples/falling-balls-mpp/shared/build.gradle.kts
  20. 0
      experimental/examples/imageviewer/androidApp/src/androidMain/AndroidManifest.xml
  21. 0
      experimental/examples/imageviewer/androidApp/src/androidMain/kotlin/example/imageviewer/MainActivity.kt
  22. 3
      experimental/examples/imageviewer/gradle.properties
  23. 0
      experimental/examples/minesweeper/androidApp/src/androidMain/AndroidManifest.xml
  24. 0
      experimental/examples/minesweeper/androidApp/src/androidMain/kotlin/MainActivity.kt
  25. 0
      experimental/examples/minesweeper/androidApp/src/androidMain/res/values/strings.xml
  26. 3
      experimental/examples/minesweeper/gradle.properties
  27. 2
      experimental/examples/minesweeper/shared/build.gradle.kts
  28. 0
      experimental/examples/todoapp-lite/androidApp/src/androidMain/AndroidManifest.xml
  29. 0
      experimental/examples/todoapp-lite/androidApp/src/androidMain/kotlin/example/todoapp/lite/MainActivity.kt
  30. 3
      experimental/examples/todoapp-lite/gradle.properties
  31. 0
      experimental/examples/visual-effects/androidApp/src/androidMain/AndroidManifest.xml
  32. 0
      experimental/examples/visual-effects/androidApp/src/androidMain/kotlin/MainActivity.kt
  33. 0
      experimental/examples/visual-effects/androidApp/src/androidMain/res/values/strings.xml
  34. 3
      experimental/examples/visual-effects/gradle.properties
  35. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/AndroidManifest.xml
  36. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/kotlin/org/jetbrains/compose/demo/widgets/MainActivity.kt
  37. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/drawable-v24/ic_launcher_background.xml
  38. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/drawable-v24/ic_launcher_foreground.xml
  39. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml
  40. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml
  41. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png
  42. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png
  43. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png
  44. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png
  45. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png
  46. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png
  47. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png
  48. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png
  49. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png
  50. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png
  51. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values-night/themes.xml
  52. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/colors.xml
  53. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/strings.xml
  54. 0
      experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/themes.xml
  55. 3
      experimental/examples/widgets-gallery/gradle.properties

0
experimental/examples/chat-mpp/androidApp/src/main/AndroidManifest.xml → experimental/examples/chat-mpp/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/chat-mpp/androidApp/src/main/kotlin/MainActivity.kt → experimental/examples/chat-mpp/androidApp/src/androidMain/kotlin/MainActivity.kt

0
experimental/examples/chat-mpp/androidApp/src/main/res/values/strings.xml → experimental/examples/chat-mpp/androidApp/src/androidMain/res/values/strings.xml

3
experimental/examples/chat-mpp/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

2
experimental/examples/chat-mpp/shared/build.gradle.kts

@ -65,7 +65,7 @@ kotlin {
implementation("com.google.android.material:material:1.7.0")
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependencies {
implementation("junit:junit:4.13.2")
}

0
experimental/examples/codeviewer/androidApp/src/main/AndroidManifest.xml → experimental/examples/codeviewer/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/codeviewer/androidApp/src/main/assets/data/EditorView.kt → experimental/examples/codeviewer/androidApp/src/androidMain/assets/data/EditorView.kt

0
experimental/examples/codeviewer/androidApp/src/main/java/org/jetbrains/codeviewer/MainActivity.kt → experimental/examples/codeviewer/androidApp/src/androidMain/kotlin/org/jetbrains/codeviewer/MainActivity.kt

0
experimental/examples/codeviewer/androidApp/src/main/res/drawable/ic_launcher_foreground.xml → experimental/examples/codeviewer/androidApp/src/androidMain/res/drawable/ic_launcher_foreground.xml

0
experimental/examples/codeviewer/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml → experimental/examples/codeviewer/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml

0
experimental/examples/codeviewer/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml → experimental/examples/codeviewer/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml

0
experimental/examples/codeviewer/androidApp/src/main/res/values/ic_launcher_background.xml → experimental/examples/codeviewer/androidApp/src/androidMain/res/values/ic_launcher_background.xml

0
experimental/examples/codeviewer/androidApp/src/main/res/values/strings.xml → experimental/examples/codeviewer/androidApp/src/androidMain/res/values/strings.xml

3
experimental/examples/codeviewer/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

0
experimental/examples/falling-balls-mpp/androidApp/src/main/AndroidManifest.xml → experimental/examples/falling-balls-mpp/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/falling-balls-mpp/androidApp/src/main/kotlin/org/jetbrains/fallingballs/MainActivity.kt → experimental/examples/falling-balls-mpp/androidApp/src/androidMain/kotlin/org/jetbrains/fallingballs/MainActivity.kt

0
experimental/examples/falling-balls-mpp/androidApp/src/main/res/values/strings.xml → experimental/examples/falling-balls-mpp/androidApp/src/androidMain/res/values/strings.xml

3
experimental/examples/falling-balls-mpp/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

2
experimental/examples/falling-balls-mpp/shared/build.gradle.kts

@ -65,7 +65,7 @@ kotlin {
implementation("com.google.android.material:material:1.7.0")
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependencies {
implementation("junit:junit:4.13.2")
}

0
experimental/examples/imageviewer/androidApp/src/main/AndroidManifest.xml → experimental/examples/imageviewer/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/imageviewer/androidApp/src/main/java/example/imageviewer/MainActivity.kt → experimental/examples/imageviewer/androidApp/src/androidMain/kotlin/example/imageviewer/MainActivity.kt

3
experimental/examples/imageviewer/gradle.properties

@ -7,9 +7,8 @@ org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

0
experimental/examples/minesweeper/androidApp/src/main/AndroidManifest.xml → experimental/examples/minesweeper/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/minesweeper/androidApp/src/main/kotlin/MainActivity.kt → experimental/examples/minesweeper/androidApp/src/androidMain/kotlin/MainActivity.kt

0
experimental/examples/minesweeper/androidApp/src/main/res/values/strings.xml → experimental/examples/minesweeper/androidApp/src/androidMain/res/values/strings.xml

3
experimental/examples/minesweeper/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

2
experimental/examples/minesweeper/shared/build.gradle.kts

@ -69,7 +69,7 @@ kotlin {
implementation("com.google.android.material:material:1.7.0")
}
}
val androidTest by getting {
val androidUnitTest by getting {
dependencies {
implementation("junit:junit:4.13.2")
}

0
experimental/examples/todoapp-lite/androidApp/src/main/AndroidManifest.xml → experimental/examples/todoapp-lite/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/todoapp-lite/androidApp/src/main/java/example/todoapp/lite/MainActivity.kt → experimental/examples/todoapp-lite/androidApp/src/androidMain/kotlin/example/todoapp/lite/MainActivity.kt

3
experimental/examples/todoapp-lite/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

0
experimental/examples/visual-effects/androidApp/src/main/AndroidManifest.xml → experimental/examples/visual-effects/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/visual-effects/androidApp/src/main/kotlin/MainActivity.kt → experimental/examples/visual-effects/androidApp/src/androidMain/kotlin/MainActivity.kt

0
experimental/examples/visual-effects/androidApp/src/main/res/values/strings.xml → experimental/examples/visual-effects/androidApp/src/androidMain/res/values/strings.xml

3
experimental/examples/visual-effects/gradle.properties

@ -6,10 +6,9 @@ org.gradle.jvmargs=-Xmx3g
org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

0
experimental/examples/widgets-gallery/androidApp/src/main/AndroidManifest.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/AndroidManifest.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/kotlin/org/jetbrains/compose/demo/widgets/MainActivity.kt → experimental/examples/widgets-gallery/androidApp/src/androidMain/kotlin/org/jetbrains/compose/demo/widgets/MainActivity.kt

0
experimental/examples/widgets-gallery/androidApp/src/main/res/drawable-v24/ic_launcher_background.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/drawable-v24/ic_launcher_background.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/drawable-v24/ic_launcher_foreground.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/drawable-v24/ic_launcher_foreground.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-hdpi/ic_launcher.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-hdpi/ic_launcher_round.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-mdpi/ic_launcher.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-mdpi/ic_launcher_round.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xhdpi/ic_launcher.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_round.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_round.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
experimental/examples/widgets-gallery/androidApp/src/main/res/values-night/themes.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values-night/themes.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/values/colors.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/colors.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/values/strings.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/strings.xml

0
experimental/examples/widgets-gallery/androidApp/src/main/res/values/themes.xml → experimental/examples/widgets-gallery/androidApp/src/androidMain/res/values/themes.xml

3
experimental/examples/widgets-gallery/gradle.properties

@ -8,8 +8,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.cacheKind=none
kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.enableDependencyPropagation=false
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.androidSourceSetLayoutVersion=2
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.0

Loading…
Cancel
Save