Browse Source

Move examples to 1.0.0-beta5

pull/1328/head
Nikolay Igotti 3 years ago
parent
commit
01530c022c
  1. 2
      examples/codeviewer/build.gradle.kts
  2. 2
      examples/falling-balls-web/build.gradle.kts
  3. 2
      examples/falling-balls/build.gradle.kts
  4. 9
      examples/falling-balls/settings.gradle.kts
  5. 2
      examples/imageviewer/build.gradle.kts
  6. 2
      examples/issues/build.gradle.kts
  7. 2
      examples/notepad/build.gradle.kts
  8. 2
      examples/todoapp-lite/build.gradle.kts
  9. 4
      examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt
  10. 4
      examples/todoapp/common/compose-ui/src/desktopMain/kotlin/example/todo/common/ui/Scrollbars.kt
  11. 2
      examples/todoapp/gradle/wrapper/gradle-wrapper.properties
  12. 2
      examples/web-compose-bird/build.gradle.kts
  13. 2
      examples/web-landing/build.gradle.kts
  14. 2
      examples/web-landing/gradle/wrapper/gradle-wrapper.properties
  15. 2
      examples/web-with-react/build.gradle.kts
  16. 2
      examples/widgets-gallery/build.gradle.kts

2
examples/codeviewer/build.gradle.kts

@ -8,7 +8,7 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta5")
classpath("com.android.tools.build:gradle:4.2.2")
// __KOTLIN_COMPOSE_VERSION__
classpath(kotlin("gradle-plugin", version = "1.5.31"))

2
examples/falling-balls-web/build.gradle.kts

@ -4,7 +4,7 @@ import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform") version "1.5.31"
id("org.jetbrains.compose") version "1.0.0-beta1"
id("org.jetbrains.compose") version "1.0.0-beta5"
}
version = "1.0-SNAPSHOT"

2
examples/falling-balls/build.gradle.kts

@ -6,7 +6,7 @@ plugins {
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.5.31"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "1.0.0-beta1"
id("org.jetbrains.compose") version "1.0.0-beta5"
}
group = "me.user"

9
examples/falling-balls/settings.gradle.kts

@ -1,10 +1 @@
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
}
}
rootProject.name = "falling_balls"

2
examples/imageviewer/build.gradle.kts

@ -7,7 +7,7 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta5")
classpath("com.android.tools.build:gradle:4.1.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))
}

2
examples/issues/build.gradle.kts

@ -8,7 +8,7 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta5")
classpath("com.android.tools.build:gradle:4.1.3")
// __KOTLIN_COMPOSE_VERSION__
classpath(kotlin("gradle-plugin", version = "1.5.31"))

2
examples/notepad/build.gradle.kts

@ -5,7 +5,7 @@ plugins {
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.5.31"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version ("1.0.0-beta1")
id("org.jetbrains.compose") version ("1.0.0-beta5")
}
repositories {

2
examples/todoapp-lite/build.gradle.kts

@ -7,7 +7,7 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta5")
classpath("com.android.tools.build:gradle:4.1.0")
classpath(kotlin("gradle-plugin", version = "1.5.31"))
}

4
examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt

@ -3,7 +3,7 @@ object Deps {
object JetBrains {
object Kotlin {
// __KOTLIN_COMPOSE_VERSION__
private const val VERSION = "1.5.21"
private const val VERSION = "1.5.31"
const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$VERSION"
const val testCommon = "org.jetbrains.kotlin:kotlin-test-common:$VERSION"
const val testJunit = "org.jetbrains.kotlin:kotlin-test-junit:$VERSION"
@ -13,7 +13,7 @@ object Deps {
object Compose {
// __LATEST_COMPOSE_RELEASE_VERSION__
private const val VERSION = "1.0.0-alpha2"
private const val VERSION = "1.0.0-beta5"
const val gradlePlugin = "org.jetbrains.compose:compose-gradle-plugin:$VERSION"
}
}

4
examples/todoapp/common/compose-ui/src/desktopMain/kotlin/example/todo/common/ui/Scrollbars.kt

@ -19,9 +19,7 @@ actual fun rememberScrollbarAdapter(
averageItemSize: Dp
): ScrollbarAdapter =
androidx.compose.foundation.rememberScrollbarAdapter(
scrollState = scrollState,
itemCount = itemCount,
averageItemSize = averageItemSize
scrollState = scrollState
)
@Composable

2
examples/todoapp/gradle/wrapper/gradle-wrapper.properties vendored

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

2
examples/web-compose-bird/build.gradle.kts

@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
plugins {
kotlin("multiplatform") version "1.5.31"
id("org.jetbrains.compose") version "1.0.0-beta1"
id("org.jetbrains.compose") version "1.0.0-beta5"
}
group = "com.theapache64.composebird"
version = "1.0.0-alpha01"

2
examples/web-landing/build.gradle.kts

@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
plugins {
kotlin("multiplatform") version "1.5.31"
id("org.jetbrains.compose") version "0.0.0-master-build413"
id("org.jetbrains.compose") version "1.0.0-beta5"
}
repositories {

2
examples/web-landing/gradle/wrapper/gradle-wrapper.properties vendored

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

2
examples/web-with-react/build.gradle.kts

@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
plugins {
kotlin("multiplatform") version "1.5.31"
id("org.jetbrains.compose") version "0.0.0-master-build413"
id("org.jetbrains.compose") version "1.0.0-beta5"
}
repositories {

2
examples/widgets-gallery/build.gradle.kts

@ -8,7 +8,7 @@ buildscript {
dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta5")
classpath("com.android.tools.build:gradle:4.2.0")
// __KOTLIN_COMPOSE_VERSION__
classpath(kotlin("gradle-plugin", version = "1.5.31"))

Loading…
Cancel
Save