Skip to content

Commit

Permalink
Merge pull request #503 from SpineEventEngine/add-fatcli-property
Browse files Browse the repository at this point in the history
Add `fatCli` property for ProtoData dependency object
  • Loading branch information
alexander-yevsyukov authored Dec 30, 2023
2 parents 17870fe + 93877ac commit 9c3cf16
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ package io.spine.internal.dependency
/**
* Dependencies on ProtoData modules.
*
* To use the locally published ProtoData version, instead of the version from a public plugin
* To use a locally published ProtoData version instead of the version from a public plugin
* registry, set the `PROTODATA_VERSION` and/or the `PROTODATA_DF_VERSION` environment variables
* and stop the Gradle daemons so that Gradle observes the env change:
* ```
Expand All @@ -40,7 +40,7 @@ package io.spine.internal.dependency
* ./gradle build # Conduct the intended checks.
* ```
*
* Then, in order to reset the console to run the usual versions again, remove the values of
* Then, to reset the console to run the usual versions again, remove the values of
* the environment variables and stop the daemon:
* ```
* export PROTODATA_VERSION=""
Expand All @@ -65,7 +65,7 @@ object ProtoData {
* The version of ProtoData dependencies.
*/
val version: String
private const val fallbackVersion = "0.15.4"
private const val fallbackVersion = "0.16.0"

/**
* The distinct version of ProtoData used by other build tools.
Expand All @@ -74,7 +74,7 @@ object ProtoData {
* transitional dependencies, this is the version used to build the project itself.
*/
val dogfoodingVersion: String
private const val fallbackDfVersion = "0.15.4"
private const val fallbackDfVersion = "0.16.0"

/**
* The artifact for the ProtoData Gradle plugin.
Expand Down Expand Up @@ -105,6 +105,9 @@ object ProtoData {
val codegenJava
get() = codegenJava(version)

val fatCli
get() = "$group:protodata-fat-cli:$version"

/**
* An env variable storing a custom [version].
*/
Expand Down

0 comments on commit 9c3cf16

Please sign in to comment.