From ccdee1397e3ebf4daff46ac2cdcb1d1603d3c805 Mon Sep 17 00:00:00 2001 From: Brian Ray Date: Tue, 27 Aug 2024 14:56:30 -0700 Subject: [PATCH] 0.4.0 final version bump This should also close issue #49. --- generator/build.gradle.kts | 2 +- .../kotlin/io/ia/sdk/tools/module/cli/ModuleGeneratorCli.kt | 4 ++-- .../io/ia/ignition/module/generator/api/GeneratorConfig.kt | 2 +- .../ignition/module/generator/api/GeneratorConfigBuilder.kt | 2 +- gradle-module-plugin/README.md | 4 ++-- gradle-module-plugin/build.gradle.kts | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/generator/build.gradle.kts b/generator/build.gradle.kts index 3951ad9..4a84eec 100644 --- a/generator/build.gradle.kts +++ b/generator/build.gradle.kts @@ -22,7 +22,7 @@ plugins { } allprojects { - project.version = "0.4.0-SNAPSHOT" + project.version = "0.4.0" } tasks { diff --git a/generator/generator-cli/src/main/kotlin/io/ia/sdk/tools/module/cli/ModuleGeneratorCli.kt b/generator/generator-cli/src/main/kotlin/io/ia/sdk/tools/module/cli/ModuleGeneratorCli.kt index 098c8da..08256e5 100644 --- a/generator/generator-cli/src/main/kotlin/io/ia/sdk/tools/module/cli/ModuleGeneratorCli.kt +++ b/generator/generator-cli/src/main/kotlin/io/ia/sdk/tools/module/cli/ModuleGeneratorCli.kt @@ -19,7 +19,7 @@ import java.util.concurrent.Callable @Command( name = "ignition-module-gen", - version = ["0.4.0-SNAPSHOT"], + version = ["0.4.0"], description = ["Generates an Ignition module skeleton according to provided arguments."], subcommands = [HelpCommand::class], mixinStandardHelpOptions = true @@ -160,7 +160,7 @@ class ModuleGeneratorCli : Callable { configBuilder.debugPluginConfig(true) configBuilder.rootPluginConfig("""id("io.ia.sdk.modl")""") } else { - configBuilder.rootPluginConfig("""id("io.ia.sdk.modl") version("0.4.0-SNAPSHOT")""") + configBuilder.rootPluginConfig("""id("io.ia.sdk.modl") version("0.4.0")""") } val config = configBuilder.build() diff --git a/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfig.kt b/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfig.kt index dc295eb..3322dbd 100644 --- a/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfig.kt +++ b/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfig.kt @@ -116,7 +116,7 @@ data class GeneratorConfig constructor( * generated, as it is assumed the plugin will be established via 'includeBuild' in settings.gradle * pluginManagement. */ - val modulePluginVersion: String = "0.4.0-SNAPSHOT", + val modulePluginVersion: String = "0.4.0", /** * If signing the module should be required, set to false. Set to true by default to allow building the diff --git a/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfigBuilder.kt b/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfigBuilder.kt index bd4dc4a..6031c50 100644 --- a/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfigBuilder.kt +++ b/generator/generator-core/src/main/kotlin/io/ia/ignition/module/generator/api/GeneratorConfigBuilder.kt @@ -26,7 +26,7 @@ class GeneratorConfigBuilder { private var debugPluginConfig: Boolean = false private var rootPluginConfig: String = "" private var useRootForSingleProjectScope: Boolean = false - private var modulePluginVersion: String = "0.4.0-SNAPSHOT" + private var modulePluginVersion: String = "0.4.0" private var allowUnsignedModules: Boolean = false // builder methods diff --git a/gradle-module-plugin/README.md b/gradle-module-plugin/README.md index ceb0cae..9106c8f 100644 --- a/gradle-module-plugin/README.md +++ b/gradle-module-plugin/README.md @@ -19,7 +19,7 @@ For current versions of gradle, simply add to your `build.gradle.kts`: ```kotlin // build.gradle.kts plugins { - id("io.ia.sdk.modl") version("0.4.0-SNAPSHOT") + id("io.ia.sdk.modl") version("0.4.0") } ``` @@ -28,7 +28,7 @@ Or for Groovy DSL buildscripts: ```groovy // build.gradle plugins { - id 'io.ia.sdk.modl' version '0.4.0-SNAPSHOT' + id 'io.ia.sdk.modl' version '0.4.0' } ``` diff --git a/gradle-module-plugin/build.gradle.kts b/gradle-module-plugin/build.gradle.kts index 15c052b..d387bf7 100644 --- a/gradle-module-plugin/build.gradle.kts +++ b/gradle-module-plugin/build.gradle.kts @@ -20,7 +20,7 @@ repositories { } group = "io.ia.sdk" -version = "0.4.0-SNAPSHOT" +version = "0.4.0" configurations { val functionalTestImplementation by registering {