From 97ad16e561654ca4c7e6f216ed7f26371913e3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C4=9Fabey=20Alio=C4=9Flu?= Date: Thu, 16 Nov 2023 19:27:24 +0300 Subject: [PATCH 1/2] #5: Make plugin extensions visible in Kotlin DSL --- CHANGELOG.md | 5 +++++ .../secretsvaultplugin/extensions/CMakeExtension.kt | 2 +- .../secretsvaultplugin/extensions/SecretsVaultExtension.kt | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1384a6b..fc60776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.1.1 + +### Fixed +- Make extensions visible in Kotlin DSL + # 0.1.0 ### Added diff --git a/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/CMakeExtension.kt b/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/CMakeExtension.kt index 92ac8fa..ecc1dbb 100644 --- a/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/CMakeExtension.kt +++ b/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/CMakeExtension.kt @@ -9,7 +9,7 @@ import org.gradle.api.provider.Property * If not specified, the name of the module to which the plugin is applied will be used. * @property version The version of CMake. If not specified, [DEFAULT_CMAKE_VERSION] will be used. */ -internal interface CMakeExtension { +interface CMakeExtension { val projectName: Property val version: Property } diff --git a/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/SecretsVaultExtension.kt b/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/SecretsVaultExtension.kt index 0abaed5..58f91b6 100644 --- a/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/SecretsVaultExtension.kt +++ b/secretsvaultplugin/src/main/kotlin/com/commencis/secretsvaultplugin/extensions/SecretsVaultExtension.kt @@ -23,7 +23,7 @@ import java.io.File * @property cmake The CMake related configurations for the SecretVault. This includes properties like * the project name and version of CMake being used. Refer to [CMakeExtension] for detailed properties. */ -internal interface SecretsVaultExtension { +interface SecretsVaultExtension { val obfuscationKey: Property val secretsFile: Property val sourceSetSecretsMappingFile: Property From 9164e37bd96e5b5f793e8ac0d985187d0d6b3d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C4=9Fabey=20Alio=C4=9Flu?= Date: Thu, 16 Nov 2023 19:29:15 +0300 Subject: [PATCH 2/2] #5: Release 0.1.1 --- secretsvaultplugin/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secretsvaultplugin/build.gradle.kts b/secretsvaultplugin/build.gradle.kts index 3915ab1..1793480 100644 --- a/secretsvaultplugin/build.gradle.kts +++ b/secretsvaultplugin/build.gradle.kts @@ -51,4 +51,4 @@ configure { } group = "com.commencis.secretsvaultplugin" -version = "0.1.0" +version = "0.1.1"