From f52bbe447c193b7534b215e3566bcccd3970b1ce Mon Sep 17 00:00:00 2001 From: uzzu Date: Sun, 26 Nov 2023 00:51:25 +0900 Subject: [PATCH] Bump-up to 2.1.0 --- CHANGELOG.md | 21 ++++++++++++++++--- LICENSE.txt | 2 +- examples/basic/build.gradle.kts | 2 +- examples/change_file/build.gradle.kts | 2 +- .../change_template_file/build.gradle.kts | 2 +- .../hierarchical_definitions/build.gradle.kts | 2 +- plugin/build.gradle.kts | 2 +- 7 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f34e7af..3d37eb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added -- `(Map) env.allVariablesOrNull()` to get all environment variables includes variables specified in `.env` includes null variables. - - The Plugin set key if defined in .env template files, but it could not be retrieved as nullable value entries by using allVariables() - - By using allVariablesOrNull instead of allVariables, it is possible to retrieve all environment variables, including those that are only defined in the .env template (which means their values are null). +### Changed + +### Deprecated + +### Removed + +### Fixed + +## [2.1.0] - 2023-11-26 + +### Added + +- `(Map) env.allVariablesOrNull()` to get all environment variables includes variables specified + in `.env` includes null variables. + - The Plugin set key if defined in .env template files, but it could not be retrieved as nullable value entries by + using allVariables() + - By using allVariablesOrNull instead of allVariables, it is possible to retrieve all environment variables, including + those that are only defined in the .env template (which means their values are null). - Change `.env.template` filename feature use gradle property `dotenv.template.filename` - Almost cases are work fine, but has similler problem with [#39](https://github.com/uzzu/dotenv-gradle/issues/39) diff --git a/LICENSE.txt b/LICENSE.txt index 7de0f5d..9ce3fbd 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2022 Hirokazu Uzu + Copyright 2023 Hirokazu Uzu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/examples/basic/build.gradle.kts b/examples/basic/build.gradle.kts index 8236582..cd0189d 100644 --- a/examples/basic/build.gradle.kts +++ b/examples/basic/build.gradle.kts @@ -1,6 +1,6 @@ plugins { base - id("co.uzzu.dotenv.gradle") version "2.0.0" + id("co.uzzu.dotenv.gradle") version "2.1.0" } val keys = listOf( diff --git a/examples/change_file/build.gradle.kts b/examples/change_file/build.gradle.kts index 9f95d0a..81185c7 100644 --- a/examples/change_file/build.gradle.kts +++ b/examples/change_file/build.gradle.kts @@ -1,6 +1,6 @@ plugins { base - id("co.uzzu.dotenv.gradle") version "2.0.0" + id("co.uzzu.dotenv.gradle") version "2.1.0" } println(env.FOO.value) diff --git a/examples/change_template_file/build.gradle.kts b/examples/change_template_file/build.gradle.kts index 3bdeec6..9215784 100644 --- a/examples/change_template_file/build.gradle.kts +++ b/examples/change_template_file/build.gradle.kts @@ -1,6 +1,6 @@ plugins { base - id("co.uzzu.dotenv.gradle") version "2.0.0" + id("co.uzzu.dotenv.gradle") version "2.1.0" } val keys = listOf( diff --git a/examples/hierarchical_definitions/build.gradle.kts b/examples/hierarchical_definitions/build.gradle.kts index 51e6f93..a046aef 100644 --- a/examples/hierarchical_definitions/build.gradle.kts +++ b/examples/hierarchical_definitions/build.gradle.kts @@ -1,6 +1,6 @@ plugins { base - id("co.uzzu.dotenv.gradle") version "2.0.0" + id("co.uzzu.dotenv.gradle") version "2.1.0" } println("[$name] FOO: ${env.FOO.value}") diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 89839dc..8820d6e 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -42,7 +42,7 @@ tasks { object Artifact { val groupId = "co.uzzu.dotenv" val artifactId = "gradle" - val version = "2.0.0" + val version = "2.1.0" } group = Artifact.groupId