mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
17 lines
418 B
Dart
17 lines
418 B
Dart
abstract final class BuildConfig {
|
|
static const int versionCode = int.fromEnvironment(
|
|
'pili.code',
|
|
defaultValue: 1,
|
|
);
|
|
static const String versionName = String.fromEnvironment(
|
|
'pili.name',
|
|
defaultValue: 'SNAPSHOT',
|
|
);
|
|
|
|
static const int buildTime = int.fromEnvironment('pili.time');
|
|
static const String commitHash = String.fromEnvironment(
|
|
'pili.hash',
|
|
defaultValue: 'N/A',
|
|
);
|
|
}
|