Browse Source
There are two versions used in the Gradle plugin: * The version of the plugin itself; * The version of Compose dependency used by the plugin. On CI both versions are set to the same value specific to the build. However, locally using 0.1.0-SNAPSHOT for the Compose version is inconvenient, because we don't publish 0.1.0-SNAPSHOT anywhere. Even if it existed, a moving version is not convenient for using in tests. This commit changes version handling: * The version of Compose is set via `compose.version` Gradle property to the latest stable version, unless overridden by `COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION` env. var. * The version of the plugin is set via `deploy.version` Gradle property to 0.1.0-SNAPSHOT, unless overridden by `COMPOSE_GRADLE_PLUGIN_VERSION` env. varpull/102/head
Alexey Tsvetkov
4 years ago
committed by
Alexey Tsvetkov
2 changed files with 15 additions and 5 deletions
@ -1,4 +1,13 @@ |
|||||||
org.gradle.parallel=true |
org.gradle.parallel=true |
||||||
kotlin.code.style=official |
kotlin.code.style=official |
||||||
|
|
||||||
#compose.version=0.1.0-m1-build57 |
# A version of Compose libraries, |
||||||
|
# that will be used by published Gradle plugin, |
||||||
|
# unless overridden by COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION env var. |
||||||
|
# |
||||||
|
# __LATEST_COMPOSE_RELEASE_VERSION__ |
||||||
|
compose.version=0.1.0-build113 |
||||||
|
|
||||||
|
# A version of Gradle plugin, that will be published, |
||||||
|
# unless overridden by COMPOSE_GRADLE_PLUGIN_VERSION env var. |
||||||
|
deploy.version=0.1.0-SNAPSHOT |
Loading…
Reference in new issue