Skip to content
Snippets Groups Projects
Commit c105e3a8 authored by Alexey Tsvetkov's avatar Alexey Tsvetkov Committed by Alexey Tsvetkov
Browse files

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__`
parent f0304395
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
......@@ -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"))
......
......@@ -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"))
......
......@@ -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"
}
......
......@@ -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")
}
......
buildscript {
// __UPDATE_COMPOSE_VERSION_MARKER__
// __LATEST_COMPOSE_RELEASE_VERSION__
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build113"
repositories {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment