Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fatCli property for ProtoData dependency object #503

Merged
merged 1 commit into from
Dec 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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