Browse Source

Change marker comment for Compose version

The verb `update` in `__UPDATE_COMPOSE_VERSION_MARKER__`
could be read as an instruction to update the plugin,
which might be confusing for users.
I suggest renaming the marker to more neutral
`__LATEST_COMPOSE_RELEASE_VERSION__`
pull/102/head
Alexey Tsvetkov 4 years ago committed by Alexey Tsvetkov
parent
commit
c105e3a8eb
  1. 2
      benchmarks/build.gradle.kts
  2. 2
      examples/codeviewer/build.gradle.kts
  3. 2
      examples/imageviewer/build.gradle.kts
  4. 2
      examples/todoapp/buildSrc/buildSrc/src/main/kotlin/Deps.kt
  5. 2
      templates/desktop-template/build.gradle.kts
  6. 2
      templates/multiplatform-template/build.gradle.kts

2
benchmarks/build.gradle.kts

@ -4,7 +4,7 @@ import org.jetbrains.kotlin.allopen.gradle.*
plugins {
kotlin("jvm") version "1.4.0"
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "0.1.0-build113"
kotlin("plugin.allopen") version "1.4.0"
id("kotlinx.benchmark") version "0.2.0-dev-20"

2
examples/codeviewer/build.gradle.kts

@ -8,7 +8,7 @@ buildscript {
}
dependencies {
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-build113")
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", version = "1.4.0"))

2
examples/imageviewer/build.gradle.kts

@ -10,7 +10,7 @@ buildscript {
}
dependencies {
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-build113")
classpath("com.android.tools.build:gradle:4.0.1")
classpath(kotlin("gradle-plugin", version = "1.4.0"))

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

@ -10,7 +10,7 @@ object Deps {
}
object Compose {
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
private const val VERSION = "0.1.0-build113"
const val gradlePlugin = "org.jetbrains.compose:compose-gradle-plugin:$VERSION"
}

2
templates/desktop-template/build.gradle.kts

@ -3,7 +3,7 @@ import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm") version "1.4.0"
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build113")
}

2
templates/multiplatform-template/build.gradle.kts

@ -1,5 +1,5 @@
buildscript {
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build113"
repositories {

Loading…
Cancel
Save