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__`
This commit is contained in:
Alexey Tsvetkov
2020-11-12 13:15:56 +03:00
committed by Alexey Tsvetkov
parent f030439571
commit c105e3a8eb
6 changed files with 6 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"))

View File

@@ -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"))

View File

@@ -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"
}

View File

@@ -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")
}

View File

@@ -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 {